This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.


This plugin is basically a wrapper for the excellent dBug ( class for PHP debugging, written by Kwaku Otchere..

Instead of var_dump or echo, you can call wp_dbug( $variable ) to get clear, dynamic debug output of strings, arrays, or objects.

Thanks to @borkweb, the plugin is now compatible with the WP Debug Bar plugin ( for extra debugging goodness!


  1. Download the plugin and unzip it into wp-content/plugins.
  2. Activate the plugin by going to Plugins and choosing Activate.
  3. Use for debug output anywhere within WordPress by calling wp_dbug( $variable ).


Q: This is just a class with a wrapper for WordPress. Why bother?
A: It took 15 minutes to write, and saves me 5 minutes every time I need to debug a new blog. ‘Nuff said.

Q: Can I use this stuff outside of WordPress?
A: Yes! Go to and download the dBug class, then include it in whatever project you’re working on.


There are no reviews for this plugin.

Contributors & Developers

“wp-dBug” is open source software. The following people have contributed to this plugin.


Translate “wp-dBug” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.