Features

Quick Overview of the DebugPress plugin

How DebugPress works?

DebugPress, unlike other debugger plugins, is using a popup window to show all the relevant information. It is less intrusive, it shows more information at once and it should provide better user experience using the debugger. To active the debugger, the plugin uses a small bug button that can be placed in the WordPress Toolbar or floating on the page in any of the screen corners.

DebugPress activation button and flags

The button shows a bug icon that is green or turns red if there are errors on the page, with few more colors depending on the errors. And, it has three additional badges, purple one showing the number of recorded AJAX calls on the current page blue one number of recorded HTTP API calls, and the red one showing the number of errors.

Finally, you can see that the plugin is fully responsive, and it works fine with small screens, making debugger useful on mobile devices too. Instead of tabs, the plugin uses a dropdown list to switch between debugger tabs.

Heart of the plugin: page loading Tracker

The snapshots of memory, timer, SQL queries and hooks gathered by Tracker

The most important part of the plugin is a Tracker. Tracker is loaded as soon as the plugin is loaded, and it starts gathering information about the page that is currently loaded. That includes tracking SQL queries, time measurements at significant page-load actions, requests for the current page, how WordPress resolves it, what errors happened on the page, and much more.

Tracker has functions, filters, and actions that can be used to extend the plugin, store custom objects to show inside the Debugger, extend how the errors are processed, and more.


Panels for Errors handling

DebugPress can capture PHP errors and warnings, deprecated warnings, and WordPress doing it wrong function calls.

When possible, the plugin will capture debug backtrace for each error and include it with the error reported.

The plugin error handler doesn’t modify other possible error handler registered by other plugins, and it will return error handling back to the system after it is done logging the error.

The number of errors is indicated via the activation button, with bug changing color and the flag showing the number of bugs tracked.

Logged errors, deprecated and doing it wrong panels