Skip to main content
Agency Program Hosting from 10% off. A dedicated account manager. Priority support. Built for growing agencies. Hosting from 10% off, a dedicated account manager and priority support for growing agencies. Speak to the team Join free
Debug Bar icon

Debug Bar

v1.2.0
by WordPress.org · 4.1 (69 reviews)

Adds a debug menu to the admin bar that shows query, cache, and other helpful debugging information.

20K+ active installs Updated Oct 15, 2026 Tested to 7.0.9 Requires PHP 5.4.0
Try Demo Download
Pre-installed Ready in ~10s No card
Debug Bar

About Debug Bar

This plugin adds a debug menu to the admin bar, providing helpful debugging information for developers. It tracks PHP warnings and notices, and can also display and track MySQL queries. There are additional add-ons available to provide even more insight into different aspects of your WordPress site.

Frequently asked questions

What does the Debug Bar plugin do?
The Debug Bar plugin adds a debug menu to the admin bar that shows query, cache, and other helpful debugging information.
What are the benefits for developers?
The Debug Bar plugin is a must for developers as it provides helpful debugging information. It also tracks PHP Warnings and Notices to make them easier to find when WP_DEBUG is enabled.
How can I enable tracking of mysql queries?
To enable tracking of mysql queries, add the following code to your wp-config.php file: define( 'SAVEQUERIES', true );
Is there a plugin to add a PHP/MySQL console?
Yes, you can add a PHP/MySQL console with the Debug Bar Console plugin.
Are there any other add-ons available for the Debug Bar plugin?
Yes, there are numerous other add-ons available to get more insight into various aspects of WordPress. You can search the plugin directory for 'Debug Bar' to find them.

Changelog

1.2.0

  • Add a filter for controlling HTTP response body capture.
  • Add plugin requirement and license metadata.

1.1.8

  • Add late output escaping where missing in the WP_Query panel.

1.1.7

  • Resolves a PHP Warning in WP 6.7+.

1.1.6

  • 1.1.5 didn’t have the minified CSS rebuilt.

1.1.5

  • Update CSS to remove gradient and shadow styles
  • Use dashicons as action buttons instead of misaligned text.

1.1.4

  • Fix PHP8+ critical error if php_uname is disabled

1.1.3

  • Fix notices in HTTP Requests panel when a request is stopped/doesn’t finish.
  • Decode the SQL in the WP_Query panel.

1.1.2

  • Fix error checking in HTTP Requests panel.

1.1.1

  • Refactor the HTTP Requests panel:
  • Remove jQuery usage
  • Properly display response codes
  • Better CSS to emphasize errors and long requests ( > 250ms )

1.1

  • Add a new panel for HTTP requests using the native WP methods.
  • AMP dev mode compatibility.
  • Change cache busters to use filemtime instead of hardcoded values.
  • Minor CSS updates, so themes don’t override the pre styles.

1.0.1

  • Update object cache panel CSS to be ready for new object-cache.php release with better stats()

1.0

  • Improved compatibility with the WordPress.com toolbar in Jetpack

0.9

  • Added panel navigation to toolbar.
  • Improved localization support.
  • Security fixes.

0.8.4

  • Updated to avoid incompatibilities with some extensions.

0.8.3

  • Updated to avoid PHP7 Deprecated notices.

0.8.2

  • Updated to handle a new deprecated message in WordPress 4.0.

0.8.1

  • Minor security fix.

0.8

  • WordPress 3.3 compatibility
  • UI refresh
  • Removed jQuery UI requirement
  • Full screen by default
  • New debug-bar query parameter to show on page load
  • Removed display cookies
  • JavaScript error tracking (disabled by default)

0.7

  • Made compatible with PHP < 5.2.0
  • CSS Tweaks
  • Load JavaScript in Footer
  • Fixed display issues for WP_Query debug on CPT archives pages
  • SQL/DB error tracking

0.6

  • Added maximize/restore button
  • Added cookie to keep track of debug bar state
  • Added post type information to WP_Query tab
  • Bug fix where bottom of page was obscured in the admin

0.5

  • New UI
  • Backend rewritten with a class for each panel
  • Many miscellaneous improvements

0.4.1

  • Compatibility updates for trunk

0.4

  • Added DB Version information
  • Updated PHP Warning and Notice tracking so that multiple different errors on the same line are tracked
  • Compatibility updates for trunk

0.3

  • Added WordPress Query infomation
  • Added Request parsing information

0.2

  • Added PHP Notice / Warning tracking when WP_DEBUG enabled
  • Added deprecated function usage tracking

0.1

  • Initial Release

Try other plugins