Description
- Call
kb_debugwith any arguments that you want to log and they will be pretty printed at the end of the document. - To log and show a list of all warnings, errors and notices generated by your plugin, add
?KB_Debug_Errorsto your URL. - To see a list of all hooks in the order they fire as well as what arguments they are called with and what functions run on them (again, in which order),
add a?KB_Debug_Hooksto the URL.
To see both just add ?KB_Debug_Errors&KB_Debug_Hooks. (Essentially $_GET[var] must be set to enable that feature).
Features
- Logs and displays all warnings, errors, etc. alongwith their context.
- Logs and displays all hooks alongwith the argument(s) each hook is called with and the functions that run on that particular hook (in order).
Screenshots
Installation
Upload kb_debug.php and ‘kb-debug.css’ to the /wp-content/mu-plugins/ directory. (Create this directory if it doesn’t exist).
NOTE: These files must be placed directly under mu-plugins: ie mu-plugins/kb_debug.php and mu-plugins/kb-debug.css.
Putting these into mu-plugins allows the plugin to capture the most number of hooks it can.
FAQ
- Why?
-
Because.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“kb_debug.php” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “kb_debug.php” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.2.4
- Moved README to readme.txt
0.2.3
- Renamed Screenshots for wp.org to display.
0.2.2
- Modified readme.txt and updated the PHP version.
0.2
- Plugin completely refactored.
- No longer uses buffering.
- Features are now activated by setting $_GET variables.
0.1
- First version.

