I need to debug a console script run from within my development VM (because of different machine state).
I'm using Netbeans, and I can debug scripts called from the browser just fine.
How do you achieve this, is this possible?
I tried Debugging php-cli scripts with xdebug and netbeans?, but I think this applies only to running the script locally.
My current xdebug configuration:
[XDEBUG]
xdebug.max_nesting_level=200
xdebug.remote_connect_back=1
xdebug.default_enable=1
xdebug.remote_autostart=1
xdebug.remote_enable=1
xdebug.idekey=netbeans-xdebug
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.collect_params=4