Linux 软件免费装
Banner图

Debug

开发者 soninow
更新时间 2026年9月9日 18:23
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

debug developer tools error log wp-config error notification error reporting

下载

1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.0 1.10 1.11 1.12 1.13 1.14

详情介绍:

Debug is a development and production tool that helps you find and fix bugs on your WordPress site (including multisite). It gives you a clean admin panel to toggle WordPress's built-in debug constants, read the error log, and receive instant email notifications when meaningful errors happen — all without editing wp-config.php by hand. What it does for you Why you can trust it The plugin never lets you download wp-config.php (a common credential leak in older debug plugins). All file access is strictly path-guarded, all admin actions are protected with nonces and capability checks, and backups let you revert any change instantly. Frequently Asked Questions Is my wp-config.php safe? Yes. The plugin creates a timestamped backup of wp-config.php before every change, and the settings page lets you restore any backup with one click. wp-config.php is never downloadable from the browser. Can I use this on a production site? Yes — and that's a core use case. Error notifications only fire for meaningful error levels (errors and warnings), never for deprecation notices. Emails are queued and throttled so a busy site won't flood your inbox, and WP_DEBUG_DISPLAY is kept off by default so errors are not shown to visitors. Why am I not getting email notifications? Make sure Email Notification is enabled and a valid address is set, and that wp_mail() works on your host. Only errors and warnings trigger emails (notices and deprecations are filtered out). The plugin says wp-config.php is not writable. What do I do? Check your file permissions. Most hosts run with the web user owning wp-config.php (usually 0644). If the plugin still cannot write it, it shows you the exact code to paste into wp-config.php manually — so you're never stuck. What does "Error Log" show? It shows the last 1 MB of wp-content/debug.log, so you can inspect recent errors without loading a huge file. You can clear the log or download it as a plain text file. Does this work on multisite? Yes. All settings are stored per-site and the wp-config.php edits apply globally, which is the expected behaviour for network-wide debug toggling.

安装:

  1. Upload the debug folder to /wp-content/plugins/, or install via Plugins → Add New in your WordPress admin.
  2. Activate the plugin through the Plugins menu.
  3. Go to Debug → Settings and configure your preferences.
  4. Hit Save Changes — a backup of wp-config.php is created automatically.
Note: If wp-config.php is not writable, the plugin will show you the code to paste manually.

屏幕截图:

  • Save settings with success message and auto-created wp-config backup notice.
  • wp-config.php manual-paste fallback when the file is not writable.
  • Debug log file viewer with clear/download actions.
  • wp-config.php backups list with one-click restore.

升级注意事项:

1.14 Adds translation support, earlier error-handler coverage, automatic backup retention, and compatibility with the latest WordPress. Recommended update. 1.13 Security release: removes the wp-config.php download, adds strict path guards, automatic backups + restore, and a hardened error handler. Upgrade highly recommended.

更新日志:

1.14 1.13 1.12: Apr 1, 2024 1.11: Mar 25, 2024 1.10: Jun 29, 2022 1.9: Dec 15, 2019 1.7: Mar 2, 2016 1.6: Jan 24, 2016 1.5: Sept 30, 2015 1.4: June 2, 2015 1.3: March 29, 2015 1.2: March 4, 2015 1.1: December 30, 2014 1.0