Roadsend PHP Debugger

Manual Docs

You can find the (short) section on the debugger in the manual here: http://code.roadsend.com/pcc-manual/Using-The-Step-Debugger.html#Using-The-Step-Debugger

Website Debugging with Internal Webserver

In addition to normal commandline step debugging, pdb can now (2.9.x+) debug websites using the built in web browser:

$ pdb /var/www/webroot

By default, a server is started on port 8000. Pointing your browser to:

http://localhost:8000/

will interpret and show the website located in the webroot.

To access the debugging commands, go to:

http://localhost:8000/pdb/

You are presented with a debugging menu. From here you can set breakpoints on URL entry, function calls, and source/line number. You can also examine source files with syntax highlighting, allowing breakpoints to be set on the selected line.

When a break point is hit, the console you started pdb on will drop into step debug mode, allowing you to step through code, examine variables, etc.