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
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 5.2 and PHP 5.6.
SourceWordPress plugins · Oct 18, 2026
01 / Source details
About this tool.
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:
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:
Debug_This::$no_pre = true;
Saved Queries and Execution Time
Retrieve saved queries and execution time by using the following static properties:
Debug_This::$execution_time
Debug_This::$queries – SAVEQUERIES must defined as true
URL Helpers
Debug_This::get_current_debug_url() – current URL with the debug query
Debug_This::get_escape_url() – used for the debug escape link that links to original page URL
WP Actions
debug_this – receives the $mode arg – outputs the debug code sent from the extension modes. The default action is set to priority 5. This allows you to prepend or append any output without conflict using less or greater priorities.
WP Filters
There are a few filters you can use to customize Debug This to your needs:
debug_this_template – receives $template arg – Use your own template
debug_this_default_mode – receives $mode arg – Alters the mode for the parent DT admin bar button link.
To access the built-in Debug This JS functionality, enqueue your custom script with the dependency set to debug-this . Your script will inherit a jQuery dependency.
Object: debugThis
debugThis.mode – current mode
debugThis.defaultMode
debugThis.template – current included template
debugThis.queryVar – the defined query string variable
Functions:
isDebug()
getDebugMode() – uses isDebug()
Events:
A jQuery debug-this event is fired from the footer. You can hook into this event with the following;
debug_this_convert_perms_to_rwx($perms) – returns string – converts permission number to RWX format – Example: 0755 folder becomes drwxr-xr-x
See it in action
Screenshots & previews.
The current query, for example.Enhanced display when a Kint debugger plugin is installed (see Description).
02 / Source details
Getting started.
01Upload to your plugins folder, usually wp-content/plugins/
02Activate the plugin on the plugin screen.
03Navigate to the front-end of your website and hover over the ‘Debug This’ menu item in the admin bar.
03 / Source details
Frequently asked questions.
How do I use Debug This?
Make sure the admin bar is enabled in your user profile. Visit any page/post/archive on your website and you will see a Debug This menu item on the admin bar.
What PHP version is this compatible with?
We’ve tested on PHP >= 5.2.17
Can I request new debug modes?
Certainly! In order to keep the plugin lightweight and performant, requests that are too localized for the greater good may be refused. If that happens, I will gladly help you build your own debug mode.
Can I alter the plugin or build my own debug modes?
Yes! Visit the Extend section to find out how you can thoroughly extend Debug This for your own needs.
Website LLMs.txt and LLMs-Full.txt Generator is an LLMs.txt generator and llms-full.txt generator for WordPress. It helps site owners generate, manage, preview, validate, and serve AI discovery files from published public content. Use it to create structured /llms.txt and optional /llms-full.txt end
EngageDock AI is a customizable floating contact widget for WordPress websites that want more leads and faster visitor communication. It helps small businesses turn website traffic into calls, texts, emails, and callback requests from one clean contact panel. Key Features: Click-to-Call – One tap ca
Altify AI is an auto ALT text and AI ALT text plugin for WordPress images. It helps generate descriptive image ALT text for accessibility and image SEO. Use bulk image ALT text tools for your Media Library, generate featured image ALT text automatically, and scale WooCommerce image ALT updates with
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati