You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd also be neat if the Vagrant came with xDebug installed.
I haven't been able to get xDebug working with netbeans (or insert your fave IDE here) for CLI php (including phpunit) but I have for running it through the browser, as follows. Please could a maintainer look at how to make it work for the CLI?
Find location of xdebug.so. Mine was in /usr/lib/php5/20121212/xdebug.so
In vagrant@civi:/etc/php5/apache2/php.ini, at bottom:
It'd also be neat if the Vagrant came with xDebug installed.
I haven't been able to get xDebug working with netbeans (or insert your fave IDE here) for CLI php (including phpunit) but I have for running it through the browser, as follows. Please could a maintainer look at how to make it work for the CLI?
Find location of xdebug.so. Mine was in /usr/lib/php5/20121212/xdebug.so
In vagrant@civi:/etc/php5/apache2/php.ini, at bottom:
zend_extension = /usr/lib/php5/20121212/xdebug.so
xdebug.remote_enable=1
xdebug.remote_log="/var/log/xdebug.log"
xdebug.remote_host=localhost
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=10.0.2.2
xdebug.remote_port=9001
xdebug.remote_connect_back = 1
xdebug.max_nesting_level = 200
If that can't be added to the Vagrant box in some way (I wasn't able to figure out how), perhaps it could be added to the docs?
The text was updated successfully, but these errors were encountered: