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