霜天部落 | 关注LAMP高性能、高并发架构的设计与研究

PHP5 调试工具 debugConsole

debugConsole 是一个很方便的 PHP5 的调试工具,主要功能:监控变量,跟踪变量的变化,打断点,记录日志,可以替换PHP原有的错误输出方式,在运行的时候直接将debug数据输出到一个js生成的弹出窗口中。

原文如下:

The debugConsole 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 runtime, measure partial runtimes, set checkpoints and write logfiles. Adittionally, the debugConsole replaces the PHP errorhandling so that notices, warnings and errors are shown in a popup too, instead of displaying them in the application to be debugged.

Therefore, the debugConsole 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 sourcecode conviniently to be re-enabled when needed.

快去看看吧:http://www.debugconsole.de/

debugconsole