i’ve been trying to enable Xdebug for Mac OS X Lion, but can’t make it work.
This should be pretty straight forward but it just isn’t working for me.
These are the steps i took:
1 – Uncommented this line of the php.ini file:
zend_extension="/usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"
2 – Restarted my Apache Server with
sudo apachectl restart
3 – Checked that it is enabled via the phpinfo() function. It is in fact enabled both as Zend module and as a separate module.
But it doesn’t work. Everytime an error occurs in my php scripts, they are displayed using the ugly error handling by default. var_dumps also don’t work.
Am I missing a step?
Be sure your
html_errorsanddisplay_errorsare turned on via your php.ini file.