Zend Executable Debugger Eclipse Plugin

UPDATE (5 Jan, 21:00): Patrick Mueller has just posted some links to information about XDebug support for PDT. Now, for those not wishing to use the Zend Debugger, you may now use XDebug.

Since I last wrote about the Eclipse PHP IDE a few weeks ago, the Eclipse team has changed the name of the project to the PHP Development Tool, or PDT. So, if you’ve been looking for the PHP IDE, you can find it in the same place, but the name has changed. The name change isn’t what I wanted to write about, though. Rather, I wanted to take a moment to talk about the free Zend Executable Debugger plug-in for Eclipse.

The Zend Executable Debugger plug-in is part of the all-in-one PDT package, but if you want to install it on your own – since it’s possible to use this debugger without the PDT and with PHPEclipse, for example – then you’ll need to install it using the Eclipse Update Manager (the easier way).

To install the Zend Executable Debugger plug-in using the Update Manager, follow the instructions I provided earlier to set up a new update site using the following information:

Please note that the Zend Executable Debugger is not available from the Eclipse site’s PHP update URL listed in my earlier post. Instead, you must use the Zend update URL (listed here) to install the debugger. When installing, if you already have the PDT installed, simply choose to install only the Zend Debugger.

Install the Zend Debugger

Once installed, you can debug a PHP script by selecting the script and choosing Run > Debug As > PHP Script, and that’s all there is to it. The debugging output appears in the console tab, shown here:

Debug Output in the Console Tab

Debug Output in the Console Tab