WP Debug Toolkit 1.2.0 is LIVE. Get $300 discount on the lifetime deal now
Use Discount Code WPDTLTD
Image
Get WP Debug Toolkit

The wp dbtk command group brings WP Debug Toolkit’s (WPDT) debugging, log inspection, query recording, and REST API tools to the terminal, with data commands that support structured JSON output so results can be piped, diffed, or passed directly to an AI coding agent.

This makes wp dbtk the right tool in contexts where a browser panel is not practical; for example, in headless setups, CI pipelines, or AI coding workflows. Data commands return structured output that feeds directly into scripts, test runners, and automation. Command syntax, default output formats, and format options are covered in full in the CLI Command Reference.

There are three groups of developers who reach for wp dbtk regularly: 

  • plugin and theme developers who want to debug without switching context from the terminal, 
  • developers using AI coding assistants whose agents need programmatic access to debug settings and REST API schemas, and 
  • anyone scripting WordPress workflows who needs parseable output.

If you are setting up wp dbtk for the first time, start with CLI Environment Setup. If you already know which command you need, go straight to the CLI Command Reference.

In This Section

Below, you can learn more about each of our documentation available to help you learn more about the WP-CLI feature:

CLI Environment Setup →

Not sure if your environment is ready? Confirm WP-CLI is installed, check your path configuration, and clear any blockers before running your first wp dbtk command.

CLI Command Reference

Every wp dbtk command in one place, with flags, default output formats, and annotated examples ready to copy into your terminal.

REST API Tools

Discover, search, inspect, and call any REST endpoint on your site from the terminal, with built-in profiling and no browser required.

Output Formats →

Learn which commands return JSON by default, which default to table or CSV, and how to switch formats so output lands where your script or pipeline expects it.

How to Use WP Debug Toolkit with AI Coding Assistants

Install the WPDT skill for your AI coding agent and put wp dbtk to work in automated debugging and endpoint profiling sessions.

On this page
Try WP Debug Toolkit
The best error log viewer with amazing developer tools to help you troubleshoot your WordPress site securely and efficiently. Something something more.