I'm trying to get xdebug to work in PHP with Netbeans connecting to a configured Vagrant virtual machine (setup with PuPHPet, if that matters)
I have these php.ini settings on my virtual machine:
[XDEBUG]
xdebug.remote_connect_back=1
xdebug.default_enable=1
xdebug.remote_autostart=0
xdebug.max_nesting_level=256
xdebug.remote_enable=1
xdebug.remote_log=/tmp/php5-xdebug.log
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.idekey=netbeans-xdebug
Netbeans correctly displays the path and starts as a local website. It correctly launches the browser with the GET variable to start debugging. My Windows firewall allows netbeans, and I added a rule allowing everyone from my virtual IP address to my local IP (both are 192.168.56.x, so this is the correct subnet).
From my virtual machine, I can fine-tune my host system. But in the xdebug log I just see:
Log opened at 2014-08-23 17:43:28
I: Checking remote connect back address.
I: Remote address found, connecting to 192.168.56.1:9000.
E: Time-out connecting to client. :-(
Log closed at 2014-08-23 17:43:28
netstat , Netbeans 9000.
9000 Virtualbox, , ( , Netbeans , - 9000).
, php-fpm 9000, 9001 ( ini php-fpm IDE, IDE 9001). :
I: Checking remote connect back address.
I: Remote address found, connecting to 192.168.56.1:9001.
E: Time-out connecting to client. :-(
Log closed at 2014-08-23 18:11:59
, , . ?