How devkabir/wp-debugger works
Project type and purpose
• This is a WordPress plugin (“WordPress Debugger”) whose goal is to hook into the WP lifecycle, collect debug information (via the Debug Bar), render custom error pages when exceptions occur, and provide a templated front-end for debugging output.
File structure
• Top-level files:
• plugin.php – main WP plugin bootstrap (registers hooks, enqueues assets)
• autoload.php – PSR-4 autoloader for the src/ classes
• functions.php – utility functions used by multiple classes
• readme.md – plugin description for the repo/WordPress directory
• src/ contains the main PHP classes (DebugBar, ErrorPage, HTTP, Log, Plugin, Template).
• Build config files in assets/ (package.json, PostCSS, Tailwind configs) support a local NPM‐based asset pipeline.
README for additional insights
• Confirms this is a WP plugin, installs via the WP plugin directory, and supports PHP 7.1+.