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

前端 未结 2 1251
北海茫月
北海茫月 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.

提交回复
热议问题