Cannot connect to xdebug over virtual network - Vagrant Virtualbox
Posted
by
smix96
on Server Fault
See other posts from Server Fault
or by smix96
Published on 2012-10-02T13:28:49Z
Indexed on
2012/10/02
15:40 UTC
Read the original article
Hit count: 417
I'm trying to set up a development box using Virtualbox / Vagrant / Puppet with the intention of eventually provisioning all my machines up to production. However this is stopping me going forward at the moment. I've installed ubuntu lucid over windows 7.
When trying to connect to xdebug by starting a debugging session in eclipse, it hangs at 57% (common in eclipse when it cannot communicate with xdebug). Here is my xdebug.ini and the settings here are appearing in phpinfo().
xdebug.remote_enable=On
xdebug.remote_handler=dbgp
xdebug.remote_host=192.168.56.1
xdebug.remote_port=9000
I'm now wondering if it's an issue with port forwarding? If eclipse is looking on port 9000, will it find port 9000 on a virtual machine?
Any help would be greatly appreciated!
© Server Fault or respective owner