PhpStorm + Xdebug: Connection established, no Debug window popup in PhpStorm

前端 未结 2 1233
北海茫月
北海茫月 2020-12-02 03:07

I\'m struggling to get PhpStorm and Xdebug to play nicely on a specific Vagrant VM.

How can I effectively track down and resolve the issue in connecting PhpStorm

相关标签:
2条回答
  • 2020-12-02 03:22

    Have you tried uncommenting # xdebug.remote_connect_back = on?

    We have found that it is always required for working between PhpStorm and XDEBUG. Or maybe better:

    xdebug.remote_connect_back=1
    

    We used the above in it our Vagrant solution WPLib Box which we specifically built to make XDEBUG easy with PhpStorm.

    I would show it to you in a link but that repo is private. However we recently switched to Docker inside Vagrant and our Docker repo is public os here is our xdebug.ini file for our PHP 7.2.6 Docker container.

    Hope this helps solve your issue.

    0 讨论(0)
  • 2020-12-02 03:25

    You are using PhpStorm 2018.2.x with Xdebug 2.7.

    Either upgrade PhpStorm to the latest stable 2018.3.x or downgrade Xdebug to 2.6.x

    The problem is in recently changed XML namespace in Xdebug protocol, as of Xdebug 2.7 (https instead of http). It's fixed/supported since PhpStorm 2018.3.0 (see WI-43622).

    0 讨论(0)
提交回复
热议问题