Powerful WordPress Debugger
The debugger in GD Press Tools Pro is fully responsive popup based debugger that includes behind the scenes Tracker class that gathers various information about WordPress execution and keeps it for the debugger to show in a usable form.
Before you start using the Debugger, you should go through the Debugger settings, and configure how the debugger will be displayed, and which user roles will be able to see the debugger open button and popup. You also have control over the panels that will be included, error override and logging and SQL queries formatting. Debugger logs errors, deprecated uses and doing it wrong messages in the plugin events log. You can turn on or off this type of logging.
Debugger Panels
The Debugger has several core panels and some extra panels you can disable if you don’t use them.
- Basics
This panel is always on, and it should basic information about the currently loaded page and WordPress installation status. - Request
This panel is optional, but very useful, showing the current URL page request with rewrite rule breakdown and HTTP request and response headers. - Query
This panel is front end panel only, showing status and details about WordPress main Query object. - Admin
This panel is visible on the admin side only, showing some important admin page information. - Content
This panel shows an overview of all registered post type, taxonomies and post status objects with the full list of rewrite rules. - Queries
This panel shows all the SQL queries logged by WordPress executed through the WPDB object. One of the most important ways to analyze page loading is to determine how SQL queries affect page execution. The plugin can filter queries by different criteria, including speed, query type and database tables. Queries can be displayed formatted and easy to read. For each query you have full traced execution information.
- Constants
This is an optional panel showing all WordPress and a lot of PHP registered constants and their current values. - User
This panel shows information about currentl user including user object and all the available user meta-data. - Enqueue
This panel lists all the JavaScript and CSS files enqueued for loading, separated by the location (footer or header). - PHP
This panel shows full data stored in important global super variables: $_SERVER, $_REQUEST, $_COOKIE. - HTTP
This panel tracks all the requests made through the WordPress HTTP API. - bbPress
This panel is available only on the bbPress pages showing basic conditionals and all the bbPress queries. - Cache
This panel is showing the status of the Dev4Press Library internal cache layers used by various Dev4Press plugins. - Errors
This panel shows all the logged errors and warnings with detailed call information. - Deprecated
This panel shows all logged deprecated warnings thrown in the WordPress, plugins and themes. - Doing It Wrong
This panel shows all logged Doing It Wrong infromation thrown by WordPress when something is executed wrongly or out of order. - Log
This panel shows object logged through the Debugger Tracker using custom log function.
Responsive Layout
The next image shows the Debugger on the Android-powered phone. Instead of tabs, the plugin uses the drop-down to switch between debugger panels. Everything else is rearranged for the small screen, and you can scroll or hide parts of the debugger to get the information you need.