PHP Debug is single API for tracing PHP applications. With a single file of only 200 lines, you can add, with minimal impact, diagnostics to be displayed upon program termination. Each diagnostic contains file, function, and caller function information. You just need to include the debug.php file and add debug() calls throughout your code in the same way as var_dump(). The diagnostic messages are stored and displayed in a list. Diagnostics can be disabled and controlled. It's small and simple yet very versatile.
|Operating Systems||Any OS|
Release Notes: Added a version of the API that is one quarter the size (120 lines).
Release Notes: This release adds a configurable display global data function; adds some extra and optional functionality; renames an option to eliminate a name collision; and rewrites and further detailed the documentation.
Release Notes: This release includes several new features, a few more options, support for options set by defines, and rewritten documentation. (And it is still really, really small.)