Home > My PHP Journey > Eclipse

Eclipse

February 4, 2008 Posted by KP

PDT User Guide in the help manual is very helpful, I followed its ‘Basic Tutorials’ smoothly until I tried the debug part. The server debug configuration is confusing to me. After lots of attempts, I finally got Eclipse working with XDebug.

Here are some notes, very probably I missed or understood something.

- Debug a PHP script, execute a PHP script directly.
This is very easy, just install Zend Executable Debugger. I installed it with the update mode.

- Debug a PHP Web page, through a web server
In the PDT installation guide, Zend Web Server Debugger links to Zend Platform - a commercial product. Actually Zend does offer a free server debugger, but there is no Windows version, is the cygwin version for Windows? Maybe I should try it before XDebug.

- My every XDebug attempt ended with a clueless Apache application error, the breakpoint made the debug stop, but one more step crashed the debug process. I tried to change Apache configuration and other trivia with the help of XDebug Support In PDT (A must read for XDebug config), I don’t know the exact problems, it suddenly worked magically.

Anyway, Eclipse is ready and looks great, I will continue reading my online book. I believe learning PHP with a powerful IDE would be fun.

Bookmark and Share


Related Posts:

Filed Under: My PHP Journey

Leave a Comment









*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word




Categories

Archives

Meta