|
|
|
|
[SOLVED] Re: The old chestnut: xdebug not stopping at breakpoints [message #1063994 is a reply to message #1063844] |
Mon, 17 June 2013 04:05  |
Eclipse User |
|
|
|
I had Zend Debugger included within the php.ini (as a separate .ini file) Although Eclipse was configured to use xdebug it seems that the presence of zend debugger interferes with xdebug.
I also read that zend debugger will not work if php has been configured with the suhosin hardening extension.
Anyway, removing zend from the ini, restarting apache made it work. This was the ini file I ended up with:
$ cat xdebug.ini
zend_extension=/usr/lib/php5/20090626+lfs/xdebug.so
xdebug.remote_enable=on
xdebug.remote_autostart=off
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.idekey=
; to enable remote debugging
zend_debugger.allow_hosts=127.0.0.1/32
zend_debugger.expose_remotely=always
;xdebug.remote_log=/path/to/xdebug.log
Optionally one can uncomment the log line and set the path to a log file but remember that xdebug APPENDS to the log file so it could grow huge.
|
|
|
Powered by
FUDForum. Page generated in 0.05709 seconds