APD |. It is pretty frustrating to be writing PHP without a debugger. Here’s one that some folks pointed out. I tried another debugger a while back and it was terrible.
APD is the Advanced PHP Debugger. It was written to provide strace/truss capability for profiling and debugging php code, as well as providing the ability to print out a full stack backtrace. APD does not support interactive debugging, but instead writes data to trace files. APD provides event based logging, so that varying levels of information (including function calls, arguments passed, timings, etc.) can be turned on or off for individual scripts.