This is annoying me, mainly because it was working fine then all of a sudden breakpoints stopped breaking and when i checked debugger it was just waiting for incoming connection.
My vagrant machine is running on private_ip: 192.168.13.37
My xdebug.ini
config is as follows:
zend_extension=/usr/lib/php5/20090626+lfs/xdebug.so
xdebug.remote_enable = on
xdebug.remote_connect_back = on
xdebug.remote_port = 9020
These are my PHPstorm debug settings:
I have a vagrant server setup in PHPstorm which has a host of dev.website.com
which points at the correct IP in windows host file, the port is 80 and the folders are mapped correctly.
I also have PHP application set up to use the explained server which a start url of /
.
I have clicked start listening for PHP debug connections, then clicked the little green bug icon to start debugging. This launches the project with the following query string ?XDEBUG_SESSION_START=18359 but when I look in PHPstorm in the debug window it will say waiting for incoming connection with ide key 18359
Any ideas how to get it working again?
Edit Added xdebug log : pastebin
Had identical problem, what helped me is setting :
xdebug.remote_autostart = 1
my other settings are:
zend_extension=xdebug.so
xdebug.remote_enable=1
xdebug.remote_connect_back=1
xdebug.remote_port=9010
xdebug.idekey=phpstorm
xdebug.remote_autostart = 1
xdebug.remote_handler=dbgp
xdebug.remote_host=10.0.2.2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With