Tech Blog :: Debugging PHP with XAMPP, MacGDPp, and Textmate
Debugging PHP with XAMPP, MacGDPp, and Textmate
Technosophos has a great tutorial on setting up a PHP debugging environment with XDebug and MAMP. I'm using XAMPP and it works the same way, just change the path where xdebug.so goes.
However, the Textmate part - using the
xdebug.file_link_format parameter - doesn't seem to be working. Apparently others are having the same problem, possibly Snow Leopard-related, not sure if there's a solution. It's not necessary for the debugger to work, however, just a convenient way to view the error-causing code.