I\'m debugging remotely my project in PhpStorm. IDE shows \'Connected\' for a moment and immediately goes into \'Waiting for incoming connection...\'
Below is Xdebug
I had same problem under windows, with phpstorm, i was googling many time. Eventually, my decision is the:
in php.ini
:
xdebug.remote_mode = "jit"
From phpstorm tutorial, JIT - "Just-In-Time" Mode
https://www.jetbrains.com/help/phpstorm/2016.2/configuring-xdebug.html#d43035e303
No, this option does not helped me actually. But, i resolve my issue in the end:
I use phpstrom for win 7, and i configured the path mapping this way:
d:\serverroot\vhost\www
=> d:\serverroot\vhost\www
but in my old config i spied such mapping:
d:\serverroot\vhost\www
=> d:/serverroot/vhost/www
On windows machines in path mapping in server configuration replace the \
by /