Directory / plugin

Debug Suite

v2.0.7 ยท by Md Kamruzzaman

Debug WordPress from the admin bar: a live PHP console, a searchable debug log viewer, email logging and generated REST API docs.

About this plugin

Debug Suite is a developer toolkit that puts the tools you normally reach for over SSH right inside wp-admin: run PHP against the live site in a browser console, read the debug log without touching FTP, watch outgoing mail, and browse auto-generated docs for every REST endpoint your site exposes. Everything is one click away from the admin bar, on any admin screen.

๐Ÿš€ Key Features

  • Query Console โ€” a PHP REPL in your browser

    • Run PHP against your live WordPress runtime, right from the admin bar. No SSH, no WP-CLI, no scratch plugin files.
    • Monaco editor with syntax highlighting, plus a split output pane that captures return values, dump() output and execution time.
    • Save frequently used snippets and re-run them in one click; recall what you ran before from the local history.
  • Debug Console wherever the admin bar is

    • A “Debug” item in the admin bar opens a full-screen overlay with the Query Console and the Debug Log as two tabs โ€” in wp-admin and on the front end alike.
    • Stay on the page you are debugging โ€” no navigating away, and the overlay remembers whether you left it open.
  • Smart Debug Log Viewer

    • Read your WordPress debug logs without ever leaving the dashboard or using FTP.
    • Switch between the raw file and a parsed view; filter by severity (warnings, notices, errors, fatals) and search.
    • Auto-discovers the log files it can find, loads long logs incrementally, and clears them in one click.
  • Debug Constants Management

    • Toggle WP_DEBUG and WP_DEBUG_LOG from Settings โ€” Debug Suite writes them straight into wp-config.php for you.
    • No FTP, no code editor, and no guessing which debug constants are currently active on the site.
  • Outgoing Email Log (optional)

    • Never wonder if a user received a receipt or notification again.
    • Keep a complete history of every email sent by your WordPress site.
    • Quickly view recipients, subject lines, contents, and delivery status at a glance.
  • Interactive API Documentation (on by default, switchable in Settings)

    • Explore your site’s REST API endpoints at /debug-suite/api/docs through a beautiful, easy-to-read visual interface.
    • Automatically generates OpenAPI documentation for every registered REST namespace, with bearer-token auth support.
    • Perfect for helping developers and external services understand how to connect to your site.
  • Lightning-Fast & Customizable

    • Only use what you need! Turn optional tools on or off with a single click in Settings.
    • Optional features create their database tables only when you activate them โ€” nothing is provisioned up front.
    • Modern React/TypeScript interface, loaded only on Debug Suite screens, so your admin stays fast.
  • Built to extend

    • PHP: service container, Hookable services and a debug_suite_localized_data filter for third-party integrations.
    • JavaScript: register your own admin pages through the debugSuite.routes filter and inject UI via Slot/Fill.

๐ŸŽฏ Perfect for

  • WordPress developers building complex applications
  • Agency developers managing multiple sites
  • DevOps teams monitoring WordPress installations
  • Site administrators debugging production issues

๐ŸŒŸ On the Roadmap

  • System Info โ€” server, PHP and WordPress environment details
  • Query Monitor โ€” database query analysis and slow-query detection
  • Cron Manager โ€” inspect and control scheduled events
  • Options Viewer โ€” browse and edit the options table
  • File Manager โ€” browse the WordPress filesystem from the dashboard
  • Asset Manager โ€” audit enqueued scripts and styles

Development

Credits

  • Built with modern WordPress development practices
  • Uses React and TypeScript for the frontend
  • Implements PSR standards and enterprise patterns
  • Special thanks to the WordPress development community

Plugin tags