Plugin info

Total downloads: 1,489
Active installs: 10
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 6/24/2022 (1286 days ago)
Added to WordPress: 2/25/2020 (5 years old)
Minimum WordPress version: 5.2
Tested up to WordPress version: 6.0.11
Minimum PHP version: 7.2

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 1286 days ago • 1 reviews

22/100

Is KL Debug abandoned?

Possibly abandoned (last update 1286 days ago).

Compatibility

Requires WordPress: 5.2
Tested up to: 6.0.11
Requires PHP: 7.2

Developers

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Toolbar Plugins Link
Rating 5.0/5 (2 reviews)Active installs 10
Theme Info in Toolbar
Rating 0.0/5 (0 reviews)Active installs 0
Ally – Web Accessibility & Usability
Rating 2.9/5 (141 reviews)Active installs 400,000
Show Current Template
Rating 5.0/5 (71 reviews)Active installs 100,000
What The File
Rating 4.9/5 (882 reviews)Active installs 40,000
Hide Admin Bar from Non-Admins
Rating 4.3/5 (30 reviews)Active installs 10,000

Description

Add a Debug Bar to your WordPress website to debug and develop your themes, plugins, etc…

With the plugin you can find every variables you want to debug in the same place and use debug functions to display them.

Prerequisites

To fully help you to debug your website you need to add some code to your wp-config.php file.

define( 'WP_DEBUG', true ); // PHP errors, notices and warnings will be displayed
define( 'SAVEQUERIES', true ); // Display queries in current page
define( 'WP_DISABLE_FATAL_ERROR_HANDLER', true ); // Disable WP Fatal error handler

Usage of the debug functions

To debug a simple variable you can use:


To debug a variable and stop the process after you can use:


Debug a variable in the debug bar

This is one of the main aspect of the plugin, to debug variables in a separate place.

The most difficult task when you debug a variable is to deal with container width, with the plugin you have a debug bar where you can add the variables of the current page.

To add a variable to the debug bar you can use the function bellow:


You can add custom tabs in the debug bar to filter you variables:


What’s Whoops in the setting panel?

Whoops is the framework that we use to display error handling. (cf. Pretty error handler with stack frames)

Installation

Requirements

This plugin requires at least PHP 7.2.

How to install the plugin

  1. Upload the plugin files to the /wp-content/plugins/kl-debug directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the \’Plugins\’ screen in WordPress
  3. Use the Tools->KL Debug screen to configure the plugin

Frequently Asked Questions

How to set which PHP errors are reported?

Simply add error_reporting(E_ALL & ~E_NOTICE); to the top of your theme functions.php file. This will only display errors that are not notices.

How can I deactivate the plugin if I can’t access the admin screen ?

Go to your FTP explorer and navigate to the plugin: wp-content>plugins. Rename the folder by adding an _ in the beginning of the folder name.

Review feed

No reviews available

Screenshots

  1. Debug bar open

    Debug bar open

  2. Settings interface

    Settings interface

  3. Pretty error handler with stack frames(powered by Whoops)

    Pretty error handler with stack frames(powered by Whoops)

Changelog

1.0.5

  • [Added] Tested up to WordPress 6.0
  • [Updated] Composer dependencies

1.0.4

  • [Added] Tested up to WordPress 5.8.2

1.0.3

  • [Added] Tested up to WordPress 5.7.2

1.0.2

  • [Added] Optimize autoload.php
  • [Fixed] autoload.php require path that can cause error 500

1.0.1

  • [Fixed] jQuery error when plugin installed on WordPress 5.5

1.0

  • [Added] Initial release