WPCode
93Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditio...
Code debug made easier and more enjoyable.
Debug Toolkit is a WordPress plugin designed to assist developers with debugging their code. It enhances the PHP error interface using Whoops, providing a more user-friendly view of errors, including links to search engines and an interactive call stack. Additionally, it offers improved variable inspection tools, replacing the basic PHP functions with more advanced options from Symfony and Kint.
This plugin is suitable for developers looking for a more efficient way to debug their code within the WordPress environment. It simplifies the debugging process by providing interactive tools and better visualisation of errors and variable data.
Best for: Developers looking for enhanced debugging tools in WordPress.
What it does well
Where it falls short
Debug Toolkit provides useful features for debugging in WordPress, particularly for developers who require more than basic error reporting and variable inspection.
Tonya Mork's own description of Debug Toolkit, lightly tidied.
Debug Toolkit makes debugging your code easier and more enjoyable. It provides you with interactive and helpful tools:
var_dump, print_r, or X-debugThe built-in PHP error container is basic and not as helpful as it could be. On top of that, it’s rather ugly. Wouldn’t you agree?
Whoops gives you a cool interface that is helpful, interactive, and quite nice to look at. Some features:
See the tools in action in this video
Though X-debug is powerful, it can be difficult to set up and run. For that reason, it’s common to dump or print out the variable to browser. But the built-in display for the PHP var_dump and print_r is basic.
This plugin includes both two very popular variable dumper tools:
VarDumper provides a simple container that displays where you place it.
On the other hand, Kint provides a more powerful interface that gives you more information such as printing out the expression that was passed into it, the data type, memory size, and the value.
To make it even easier, the following utility functions are available for you to use in your code:
Let’s explore the functions that are available for you through this plugin. We’ll use the variable inspectors to dump global $post.
Other plugins for developer tooling.
Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditio...
Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for an...
Duplicate post, post order, image resize, email via SMTP, admin menu editor, custom css / code, disable gutenb...
Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the shortcodes wit...
Add PHP code to your pages and posts easily using shortcodes.
An easy, clean, and simple way to enhance your site with code snippets.