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

感情迁移 提交于 2019-11-27 09:51:53

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).

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!