Setting break points in a PHP script (not a web page) using eclipse

bakersilver

New Member
I'm running eclipse 3.5 (Galileo) with the PHP development tools (PDT) plug in. I also installed XDebug by following these instructions.It works great when I debug a web page running on localhost. I can set break points and step through the code.However, I can't debug a PHP script. I can run it, and I see the output from print statements in the console, but it ignores any break points. Is it possible to debug a PHP script, or does PHP debugging only work under a web server?
 
Back
Top