A debug panel for PHP, in one file. Include it once, then dump anything from anywhere.
include __DIR__ . '/debug.php'; p($value, $more); // dump with a call trace and carry on d($value); // dump and stop the script
The dump shows up as a panel in the page, bottom left.
Switch it off with define('DEBUG', FALSE) before the include - the same file then installs harmless no-ops, so every call stays where it is.
built 2026-09-15 14:16 · sources: /volume1/web/packages/tools/debug/ (newer files there run instead of me)