[WordPress] 外掛分享: Debug Suite

首頁外掛目錄 › Debug Suite
WordPress 外掛 Debug Suite 的封面圖片
全新外掛
安裝啟用
尚無評分
11 天前
最後更新
問題解決
WordPress 6.8+ PHP 8.1+ v2.0.2 上架:2025-08-23

內容簡介

Debug Suite 是一個開發者工具包,將通常透過 SSH 使用的工具整合到 wp-admin 中。用戶可以在瀏覽器控制台中執行 PHP、查看除錯日誌、監控發送郵件,並瀏覽自動生成的 REST API 文檔,讓開發過程更為高效。

【主要功能】
• 查詢控制台:在瀏覽器中執行 PHP
• 除錯控制台:隨時查看除錯日誌
• 智能除錯日誌檢視器:輕鬆讀取 WordPress 日誌
• 除錯常數管理:輕鬆切換除錯設定
• 發送郵件日誌:追蹤郵件發送歷史
• 互動式 API 文檔:探索 REST API 端點

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Debug Suite」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

GitHub Repository
Documentation
Issue Tracker

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

文章
Filter
Mastodon