WP Manifestindependent plugin directory
manifest / developer / mai-debugger

Mai Debugger

An aggressive debugging plugin with Whoops and Symfony var-dumper.

by BizBudding · github.com/maithemewp/mai-debugger · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/maithemewp/mai-debugger/archive/refs/heads/develop.zip

From the readme

Mai Debugger An aggressive debugging plugin with Whoops and Symfony var-dumper. Requires PHP 8.1. What it does Fatal errors and uncaught exceptions get the full Whoops error page: the message, the line it died on, the surrounding source, and the whole call stack. Notices, warnings and deprecations do not. They go to debug.log and the page keeps rendering. That split is deliberate. Whoops out of the box treats every PHP problem as fatal, so a single deprecation buried in another plugin's vendor folder blanks the whole site, and you never reach the bug you were actually chasing. A white screen also only ever shows you the first problem. Use Query Monitor to see the rest, since it lists every notice for the request and names the plugin responsible. Dumping data. Symfony var-dumper is loaded, so dump( $somedata ) works anywhere. It prints to the page for everyone who can see that page, including on a live site, and the key below does not gate it. Take your dumps out when you're done. Query parameters All three use the same maidebugger parameter and work on any URL. | Parameter | Effect | | --- | --- | | ?maidebugger=off | Skips Whoops for this one request. The page renders Wo

Read the full README on GitHub →