Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Brandon Savage's Blog:
Bug-Free: Using XDebug To Improve Development (Part 2 of N)
Oct 17, 2008 @ 07:57:30

Brandon Savage has posted the second part of his debugging in PHP series today - this time he looks at stepping it up with a powerful tool XDebug.

There are two really great experiences in my PHP life: the day I learned how to use PHP, and the day I installed XDebug. Ok, perhaps that's an overstatement, but XDebug is one of the best tools I've ever used. I think every developer should use it, and for the next part of this series we're going to talk about its features.

You'll need to get it set up yourself (complete instructions are on the XDebug site) but Brandon includes an example of the code you can use to toss information back out to your dugging client of choice (as well as some of the resulting output).

tagged: debug xdebug tool series development

Link: