Monday, November 10, 2014

PHP debug configuration


zypper in php5-xdebug
Edit file  /etc/php5/conf.d/xdebug.ini and edit the following lines (initially commented out)


xdebug.remote_enable = On
xdebug.remote_handler = dbgp
xdebug.remote_host = localhost
xdebug.remote_mode = req
xdebug.remote_port = 9000

xdebug.remote_autostart = 0

No comments: