
內容簡介
DebugZen 是一款專為 WordPress 開發者設計的除錯工具,提供強大的控制台界面來管理除錯設定,並實時診斷致命錯誤、警告和通知,讓網站維護變得更加簡單。
【主要功能】
• 智能日誌分組:自動整合重複錯誤為單一卡片
• 代碼上下文:顯示錯誤周圍的代碼行
• 嚴重性過濾與搜尋:快速搜尋各類錯誤
• 實時日誌流:高效讀取新增的日誌內容
• 日誌輪替與大小管理:視覺化監控日誌大小
• 安全管理:僅限管理員操作,並具備認證保護
外掛標籤
開發者團隊
原文外掛簡介
DebugZen is the ultimate developer tool for WordPress troubleshooting. It gives administrators a powerful, focused dashboard screen for managing WordPress debugging settings and diagnosing fatal errors, warnings, and notices in real time.
If you have ever struggled with finding the debug.log file, or if you need an intuitive error log viewer right inside your WordPress admin area, DebugZen makes it effortless to monitor your site’s health and troubleshoot issues without relying on FTP or SSH.
The plugin uses the battle-tested WP Config Transformer library to read, add, and update these constants in wp-config.php:
WP_DEBUG
WP_DEBUG_LOG
WP_DEBUG_DISPLAY
DebugZen does not use fragile regex or string replacement to modify configuration constants.
Diagnostic Log Viewer & Smart Log Grouping
Instead of raw, unformatted text files that consume excessive memory, DebugZen provides a structured, searchable diagnostic interface:
Smart Log Grouping: Automatically consolidates repeated identical errors into single cards with occurrence counts and first/last seen timestamps.
Source Code Context: Expandable preview showing the exact lines of code surrounding an error, complete with line numbers, error highlighting, and a direct “View in Editor” jump action.
Severity Filtering & Search: Instant debounced search and filtering across Fatal Errors, Warnings, Notices, Deprecations, and stack traces.
Real-Time Live Tail: High-performance streaming that reads newly appended log bytes using byte offsets without polling full files or exhausting PHP memory.
Log Rotation & Size Management: Monitor debug log size with visual thresholds, automatic truncation, or timestamped archival rotation.
Secure Management: Restrict every action to administrators with manage_options, protected by nonces and server-signed HMAC authentication.
Zero External Dependencies: Operates 100% locally with no telemetry, tracking, or remote CDNs.
Third-party libraries
DebugZen includes WP Config Transformer by the WP-CLI Development Group. It is distributed under the MIT License. Its license is included at vendor/wp-cli/wp-config-transformer/LICENSE.
This plugin does not contact external services, collect telemetry, or load remote executable code.
