PHP Debug Console
Posted on Friday, May 06, 2011 @ 00:27:27 CDT in PHP
by Raven
Southern writes: What is the Debug Console?
The Debug Console is a tool for debugging and tracing PHP5 applications on productive servers without compromising the live-traffic.
With simple PHP functions you can inspect variables, watch changes in variables over the whole run time, measure partial run times, set checkpoints and write log files. Additionally, the Debug Console replaces the PHP error handling so that notices, warnings and errors are shown in a popup too, instead of displaying them in the application to be debugged.
Therefore, the Debug Console streams all output to a JavaScript popup. In the configuration file, IP-based access restrictions can be defined so that the popup opens for developers only but not for visitors. After finishing work, the popup can simply be switched off and all debug commands can remain in the source code conveniently to be re-enabled when needed.
more: Debug Console