Linux 软件免费装
Banner图

DebugZen

开发者 parag44
更新时间 2026年9月8日 23:23
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

debug debug log error log wp-config troubleshooting

下载

1.0.0 1.1.0 1.1.1

详情介绍:

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: 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: 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.

安装:

  1. Upload the debugzen folder to /wp-content/plugins/, or install the plugin ZIP from Plugins > Add New > Upload Plugin.
  2. If installing from source without the bundled vendor directory, run composer install --no-dev --optimize-autoloader inside the plugin directory.
  3. Activate DebugZen through the Plugins screen in WordPress.
  4. Open Tools > DebugZen.
  5. Ensure wp-config.php is writable before saving changes. Restore restrictive permissions after configuration if required by your hosting environment.

屏幕截图:

  • The multi-tab Settings modal for managing WP_DEBUG constants, log rotation thresholds, and viewer preferences.

升级注意事项:

1.1.0 Major feature release introducing an interactive diagnostic log viewer, smart duplicate log grouping, source code context preview with editor jump, real-time live tail, and log rotation. 1.0.0 Initial release.

常见问题:

Does the plugin directly edit debug constants with string replacement?

No. It uses WP Config Transformer to locate, read, add, and update debug constants safely via AST tokenization.

Why can I not save settings?

The plugin must be able to read and write wp-config.php. File ownership, permissions, or host-level restrictions may prevent changes.

Where is the debug log?

By default, WordPress writes the log to wp-content/debug.log. If WP_DEBUG_LOG contains a custom path, DebugZen uses that path.

How does Source Code Preview stay secure?

Source code inspection is protected by server-signed HMAC tokens, strict path traversal checks, canonical realpath validation confined to the WordPress installation, and explicit blacklists for wp-config.php and dotfiles. Files are never executed.

Does DebugZen send data anywhere?

No. DebugZen has no telemetry, analytics, external API connection, or remote code loading.

更新日志:

1.1.1 1.1.0 1.0.0