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

IBM developerWorks:
Debugging techniques for PHP programmers
Dec 01, 2005 @ 07:36:42

In this new article from the IBM developerWorks site today, there's a look at doing some debugging with the help of a debugger extension for Eclipse - PHPExclipse.

This article details various methods for debugging PHP applications, including turning on error reporting in Apache and PHP, and by placing strategic print statements to locate the source of more difficult bugs through a simple example PHP script. The PHPEclipse plug-in for Eclipse, a slick development environment with real-time syntax parsing abilities, will also be covered, as well as the DBG debugger extension for PHPEclipse.

step you through the installation, how to turn on the error reporting correctly, and how to use the real-time features in Eclipse to make your life easier. Throw in the internal debugger, and you just about have a match made in heaven...

tagged: debugging phpeclipse eclipse debugging phpeclipse eclipse