I\'m trying to get remote debugging to work. The PHP is running on a VM and I\'m trying to debug from NetBeans on the host machine.
I\'ve followed the instructions here
I added 4 options to use Xdebug in my projects in a virtual machine:
xdebug.remote_enable = On xdebug.remote_host = [YOUR_HOST_IP] xdebug.remote_connect_back = On xdebug.remote_autostart = On
As long as your debugger is listening, it should break on a breakpoint.