Plugins to debug, profile & log errors

Plugins to debug, profile & log errors

By profile, I mean - measure performance.

There is a good overview of available tools.

Xenu Link Sleuth and other 7 things you can do with Xenu.

Other desktop tools are:

I also used desktop site downloaders like Teleport Ultra

Online tools

The most beautiful is W3C official online tool called W3C Link Checker available here.

There is also an ancient looking Dead Link Checker.

Wordpress plugins

There is also a very good Wordpress plugin Broken Link Checker that examines database and detects broken links. It can be time consuming, but it clearly shows you if broken links are from WP posts.

404 logs & redirects

I am using a simple plugin called 404 Error Logger that logs all 404 errors on site.

There is more advanced Redirector plugin that does that same thing plus a lot more about redirecting links.


Log warnings & errors

WP Error Fix WP Error Fix: Track Plugins & Themes Errors in WordPress | WP Solver

We need to /wp-content/plugins/wp-error-fix/application/Service/Model/rest.php line 58 to $response->status = 'success';

Debug

WPEngine (experts in speed) recommend for development:

For most of the following plug-ins, besides setting WP_DEBUG we also must set define('SAVEQUERIES', true); in wp-config.php.

  • Query Monitor is a necessary plugin for development.

    After successfull install, don’t forget to check symlink of db.php. It should be done automatically (force relink with plugin de-re-activation), but you must disable Database Cache in W3TC. Manually, you can do it with ln -s wp-content/plugins/query-monitor/wp-content/db.php wp-content/db.php from WP folder.

    I suggest you to immediatly Set authentication cookie to access plugin when not logged in.

    Offical source and documentation: johnbillion/query-monitor, and some info

  • Debug Bar did not impress me. Everything it does, Query Monitor does better. Despite of that, it seems it has a lot of free extensions: Debug Bar and Add-Ons

    Debug Bar Slow Actions is really useful add-on that records timing spent on Actions/Filters. In slows down site considerably so disable in in production environment.

    Note: This interesting add-on conflicts with another plugin - Debug Objects.

    Another add-on, Debug Bar Console adds a PHP/MySQL console to the debug bar.

  • Debug Objects is very interesting, and really different. It has a lot of useful things for front-end development, but it’s interface is really outdated.

    Enable the following interestin options:

    • Chromephp and install browser extension Chrome Logger
    • Db Query
    • HTML Inspector is perfect for markup quality tool, but I believe there are better plugins for that.
    • Cache shows contents of cache

    How to Debug Performance Problems


Simpler Query Monitor alternative:

UsageDD


Debug plugins BlackBox Debug Bar for WordPress: Track Queries & Errors | WP Solver

Depreciated:

  • Debug Queries
    New release, new Plugin - Please use the plugin Debug Objects.

Articles: 6 WordPress Plugins for Debugging 5 Must See Query Monitors for WordPress


Development plugins:

WP Page Load Stats

MySQL Monitor PHP/MySQL CPU performance statistics Diagnosis


Show page & post info

What Template Am I Using is my selected plugin.

Others are also very nice:


WordPress plugin for whoops Rarst/wps · GitHub whoops is a nice little library that helps you develop and maintain your projects better whoops! - php errors for cool kids

Another one: WordPress › Pretty PHP Error Pages « WordPress Plugins


Light WordPress profiler: Rarst/laps · GitHub

date 01. Jan 0001 | modified 28. May 2021
filename: Wordpress Plugin - Debug & Log