Hello,
I am trying to set up the ability to debug command line scripts on a guest
VM in an IDE running on the Host machine.
Here are my settings:
zend_extension = /usr/lib64/php/modules/xdebug.so
xdebug.var_display_max_depth=7
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=192.168.56.1
xdebug.remote_port=9000
html_errors = 1;
I then exported the XDEBUG_CONFIG environment variable as outlined in the
docs:
export XDEBUG_CONFIG="idekey=netbeans-xdebug"
I then run a php script:
php test.php
At this point execution hangs on the guest VM.
On the host machine I have tried the following two things:
1) Start a Netbeans debugging session (right clicking on the project, debug)
- The PHP script hangs on the guest machine
2) After quiting Netbeans I tried using the bundled debugging client.
Received on Mon Jul 18 2011 - 12:00:40 BST
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST