As we continue to head towards working with direct debugging with Xdebug, we have a few tools at our disposal that allow us to work within WordPress itself. These aren’t meant to be replacements for any other debugging tool, but compliments to them.
I began by discussing this in the previous part of the last series. Specifically, I wrote:
Now though, we need to turn our attention to the plugins that were discussed a few posts ago. After that, we’ll eventually be working our way up to Xdebug.
But next, we’ll look at the tools available to us from within WordPress itself.
Ultimately, the goal is to look at what’s available for us to use to find problems, test code snippets, and profile our work. And several plugins make this incredibly easy (and are quite powerful) as it relates to doing just that.
Debugging Within WordPress
Before getting started with this content, it’s worth noting that there are a plethora of plugins available to help debug and profile your WordPress installation and the work you’re doing within the installation.
This is simply a short list of tools that I find useful and that I think you should have at minimum in your local installation. And to reiterate, these are not replacements for debugging tools. They are compliments to them.
And Next, Debugging
With the above three covered, you should be well-equipped to handle quite a bit within WordPress. But if you’re looking to get into the world of professional, practical debugging from within your IDE, then it’s important to understand the what, how, and why.
And that’s what we’ll begin looking at in the next post.