WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Razvan Aldea v0.6.7

Debug This

Peek under the hood with sixty debugging reports just one click away.

Debug This

The facts

Rating
4.8★ from 17
Active installs
2k+
Price
Free
Last updated
4 Jun 2025
Added
Dec 2012
Requires WP
5.2
Tested up to
WP 6.8.8
Requires PHP
5.6
Downloads
160,102

Our analysis

AI-assisted

Debug This is a WordPress plugin designed for admins, developers, and support staff to provide detailed information about a WordPress installation directly from the front-end admin bar. It displays various data, such as the current WP_Query object, blog options, files in rendered HTML, and server information, among others.

The plugin allows users to quickly access essential debugging information without the need for hardcoding or complex tests. It also supports the creation of custom debug modes, enabling further extension and personalisation of the debugging process.

Best for: This plugin is suitable for WordPress developers and site administrators who need detailed debugging information.

What it does well

  • Provides extensive information about WordPress installations
  • Accessible from the front-end admin bar
  • Supports custom debug modes and extensions
  • Useful for developers and support staff
  • Free to use from the WordPress.org directory

Where it falls short

  • Limited information on specific use cases or user experiences

Verdict

Debug This offers a comprehensive set of debugging tools for WordPress users. It is particularly beneficial for those looking to streamline their debugging process.

From the developer

Razvan Aldea's own description of Debug This, lightly tidied.

For admins, developers, and support staff, Debug This provides a ton of information about your WordPress installation, all from the front-end admin bar.

  • The current WP_Query object
  • Blog info and options
  • Embed providers
  • Files in rendered HTML (CSS, images, JavaScript)
  • Filters and actions
  • Images sizes
  • Globals and constants
  • Menus
  • Object cache stats
  • Plugins, must-use plugins, and dropins
  • Rewrite rules
  • Queries
  • PHP and server information
  • Post attachments
  • Post types
  • Scripts and styles enqueued
  • Shortcodes
  • Sidebars and widgets
  • Taxonomies and terms
  • Themes
  • Users
  • WP cron schedules and jobs
  • WP debug log

Debug This helps you save time and effort when trying to figure out what’s going on. Instead of hardcoding debug snippets or writing complex unit
tests for small functionality, you can simply bring to the surface what you need right from the admin bar.

For example, when viewing a single post, you can see:

  • a list of post attachments,
  • which menus and sidebars are being displayed,
  • the post type, post fields, and meta data,
  • the current query variables and query string,
  • the rewrite rules applied,
  • the author,
  • the terms,
  • and much more.

Extend

Debug This Functions

New debug modes can be created easily:

add_debug_extension(
    $mode,
    $menu_label,
    $description,
    $callback,
    $group = 'General'
);

Example

add_debug_extension(
    'actions',
    __('Actions', 'debug-this'),
    __('$wp_actions contains all active registered actions', 'debug-this'),
    'foo_callback',
    'Filters And Actions'
);
function foo_callback($buffer, $template){
    global $wp_actions;
    $debug = print_r($wp_actions, true);
    return $debug;
}

You can add links to the header of a debug mode page. Place this code within your debug callback function.

add_debug_header_link('http://urltolink', 'Link Label');

Extensions can be removed as well using remove_debug_extension($mode);

No PRE Tags

If you don’t want your debug output to be enclosed in PRE tags, simply set the following in your extension:

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for developer tooling.

WPCode

WPCode

93

Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditio...

Free 3M+ installs 4.9★ (1,873)
Header Footer Code Manager

Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for an...

Free 600k+ installs 4.9★ (309)
Admin and Site Enhancements

Duplicate post, post order, image resize, email via SMTP, admin menu editor, custom css / code, disable gutenb...

Free 200k+ installs 5★ (421)
Shortcoder

Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the shortcodes wit...

Free 100k+ installs 4.9★ (227)
Insert PHP Code Snippet

Add PHP code to your pages and posts easily using shortcodes.

Free 90k+ installs 4.9★ (705)
Code Snippets

An easy, clean, and simple way to enhance your site with code snippets.

Free 1M+ installs 4.7★ (509)