Peter Kevin Reeves asked:
Whenever I search for PHP source level debugging, it seems to point me to either Xdebug or Zend. But I can never seem to find a current, valid set of instructions on setting it up.
Whenever I search for PHP source level debugging, it seems to point me to either Xdebug or Zend. But I can never seem to find a current, valid set of instructions on setting it up.
I want to do source level debugging of my PHP code, on my Mac OS X 10.5.6, MacBook Pro. Has anyone actually succeeded at this themselves?


1 Comment to 'How do you set up PHP source level debugging on a Mac?'
March 11, 2010
I don’t have time to look into this in detail, but I DO have this working on my Mac setup.
You need to install the Xdebug extension on your web server. Then grab MacGDBp:
It’s a beautiful front-end that will let you walk through your PHP scripts, set breakpoints, etc.
Here’s the help page that explains how to set it up:
Leave a comment