
DebugZen
v1.3.0Parag Das · 2026年9月6日 上架
Turn WP_DEBUG on and off without FTP, then search, filter and clear debug.log in your dashboard, with grouped errors and the code behind them.
- 正在使用
- 10 以下
- 评分
- 5.0 / 5
- 累计下载
- 461
- 最近更新
- 2026年11月19日
贡献者
截图
DebugZen gives administrators one focused screen for WordPress debugging: turn the debug constants on and off, then read, filter and clear debug.log without FTP or SSH.
Debug constants without editing files
Switches at the top of the DebugZen screen read and update these constants in wp-config.php:
WP_DEBUGWP_DEBUG_LOGWP_DEBUG_DISPLAY
Changes are written with the WP Config Transformer library, which parses wp-config.php instead of using regex or string replacement. If WP_DEBUG_LOG points to a custom file, that path is kept. If wp-config.php is read-only, DebugZen shows the exact lines to add yourself. Turning on WP_DEBUG_DISPLAY shows a reminder that errors are now printed to visitors.
A log viewer built for reading
- Compact rows: each entry shows its severity, message, source, occurrence count and how long ago it happened. Click a row to open it in place.
- Source, stack trace and raw entry: an open entry shows the lines of code around the error with the failing line highlighted, the full stack trace, and the raw log text. “Open in editor” jumps to that line in the plugin or theme editor for users who are allowed to edit files.
- Grouped duplicates: identical errors collapse into one row with a count and first and last seen times.
- Filter by severity and by source: fatal errors, warnings, notices, deprecations and info, plus the plugin, theme or core file each entry came from, with search across messages and file paths.
- Live: watches
debug.logfor new lines by reading only the bytes added since the last check. New entries never move the row you are reading; they wait behind a “new entries” bar. - Log size management: shows the log size against your limit and clears or archives the file when it is reached.
- Keyboard shortcuts:
/orCmd/Ctrl + Kto search,jandkto move between entries,rto refresh,tto turn Live on or off, andEscto close or clear.
Security
DebugZen is limited to administrators (super admins on multisite), and every request is checked with a nonce. Source previews need a server-signed token tied to the current user, are confined to the WordPress installation with realpath() checks, never include wp-config.php, dotfiles or the active log, and files are only read, never executed.
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.


