Title: Debug Log &#8211; Manager Tool
Author: Lukman Nakib
Published: <strong>2021 年 8 月 15 日</strong>
Last modified: 2025 年 4 月 30 日

---

搜索插件

![](https://ps.w.org/debug-log-config-tool/assets/banner-772x250.png?rev=3128122)

![](https://ps.w.org/debug-log-config-tool/assets/icon-256x256.png?rev=3128122)

# Debug Log – Manager Tool

 作者：[Lukman Nakib](https://profiles.wordpress.org/pyrobd/)

[下载](https://downloads.wordpress.org/plugin/debug-log-config-tool.2.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/debug-log-config-tool/#description)
 * [评价](https://cn.wordpress.org/plugins/debug-log-config-tool/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/debug-log-config-tool/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/debug-log-config-tool/#developers)

 [支持](https://wordpress.org/support/plugin/debug-log-config-tool/)

## 描述

A comprehensive debugging toolkit for WordPress developers and site administrators.
This plugin gives you complete control over WordPress debugging without editing 
wp-config.php files or using FTP.

#### Quick Demo

#### Key Features

 * **WP-CLI Style Terminal**: Execute WordPress commands directly from your browser
   with syntax highlighting and auto-completion
 * **Database Tools**: Run SQL queries, view table structures, and optimize your
   database (super admin only)
 * **Debug Constants Manager**: Toggle all WordPress debug constants with a single
   click
 * **Log Viewer**: View, filter, and analyze debug logs with syntax highlighting
   and error categorization
 * **Query Inspector**: Examine database queries with SAVEQUERIES support
 * **Email Notifications**: Get alerts when new errors appear in your logs
 * **Safe Mode**: Quickly disable all plugins except selected ones for troubleshooting
 * **Custom Log Paths**: Set custom log file locations with filter support

#### Debug Constants Available

 * **WP_DEBUG** – Default Value: true – Enables WordPress debug mode
 * **WP_DEBUG_LOG** – Default Value: true – Saves all errors to a debug.log file
 * **SCRIPT_DEBUG** – Default Value: false – Uses development versions of core JS
   and CSS files
 * **WP_DEBUG_DISPLAY** – Default Value: false – Controls whether debug messages
   display on screen
 * **SAVEQUERIES** – Default Value: false – Saves database queries for analysis

#### Developer Tools

 * **Terminal Commands**: Use WP-CLI style commands like `wp core version` or `wp
   plugin list`
 * **Database Explorer**: Run SELECT queries and view results in a formatted table
 * **Stack Trace Analysis**: Visualize error stack traces for easier debugging
 * **Hook Inspector**: View all registered hooks and their callbacks
 * **Environment Detection**: Development features are automatically hidden in production

> **Developer API**: Apply custom filters like `apply_filters('wp_debuglog_log_file_path',
> $file);` to extend functionality

Please note: Constant values will be restored on plugin deactivation as it was before
activating the plugin.

## 屏幕截图

 * [[
 * ** Plugin Settings **
 * [[
 * ** Debug Log **
 * [[

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/debug-log-config-tool` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Go to Tools-> Debug Logs screen to see the debug logs or access it from the top
    navbar.

## 常见问题

### Do I need file manager/ftp or modify wp-config.php fie ?

No, just activate the plugin and turn off/on debug mode from plugin settings

### Can I see full debug in dashboard?

Yes you can see a simple log in dashboard widget and nicely formatted view in the
plugin

### What does safe mode do?

Safe mode will deactivate all the plugin except the selected one. When you turn 
safe mode off it will restore all the previous activated plugin.

## 评价

![](https://secure.gravatar.com/avatar/801d810865f8a3395fdcb56df7038ec3b1b0a923403101c2052539b2e73cac5b?
s=60&d=retro&r=g)

### 󠀁[a good tool, simple and practical](https://wordpress.org/support/topic/a-good-tool-simple-and-practical/)󠁿

 [ulrichgenisson](https://profiles.wordpress.org/ulrichgenisson/) 2026 年 3 月 10
日

Essential for easily finding the source of a bug in debug mode ! Thank you for this
plugin !

![](https://secure.gravatar.com/avatar/f2949e1420c186ba7fe9eafb8f5c406b6b29ddebb639e7c7da6f93d39b784643?
s=60&d=retro&r=g)

### 󠀁[Powerful & clean](https://wordpress.org/support/topic/powerful-clean/)󠁿

 [Martin Sauter](https://profiles.wordpress.org/martinsauter/) 2026 年 2 月 8 日

Powerful tool for debugging with a clean and logical user interface. Absolutely 
helpful!

![](https://secure.gravatar.com/avatar/b0ed81fcb6d70b0c3c50c01c338d2171ea05c511d83364ec027c53adbc96ed30?
s=60&d=retro&r=g)

### 󠀁[Much improved over time](https://wordpress.org/support/topic/works-but-has-bugs-and-bad-support/)󠁿

 [Krzysztof Planeta](https://profiles.wordpress.org/chrisplaneta/) 2026 年 1 月 
13 日 6 回复

The plugin used to work very well, but with the latest update the debug log cannot
be cleaned. This has been reported as a bug 2 months ago with no response and no
other update. This is why I’m giving the plugin 2 stars. There are other plugins
that work better. — EDIT — Recently I tested the plugin again and it has improved
by a lot. I see new functions and – so far – zero bugs. Well done. I improve my 
rating. Keep up the good work.

![](https://secure.gravatar.com/avatar/ce7bce086203195560159a4d46a972be2929cd547b30a4e696c668cdaf302d56?
s=60&d=retro&r=g)

### 󠀁[I love this plugin](https://wordpress.org/support/topic/i-love-this-plugin-574/)󠁿

 [marymac](https://profiles.wordpress.org/marymac/) 2025 年 10 月 23 日

I was getting tons of errors in my database and being able to easily look at the
debug logs and turn debugging on and off from the admin panel is so much faster 
than messing with my file manager. Thank you!

![](https://secure.gravatar.com/avatar/42671dfa029a5b8a4ff1e9bff47a1e4b8b340ea3589485b06629a9b1512ce6c0?
s=60&d=retro&r=g)

### 󠀁[🚨 🙌 hands down the best WordPress Debugging Plugin](https://wordpress.org/support/topic/%f0%9f%9a%a8-%f0%9f%99%8c-hands-down-the-best-wordpress-debugging-plugin/)󠁿

 [Mike Zielonka](https://profiles.wordpress.org/mikezielonka/) 2025 年 9 月 20 日

If you’re tired of cracking open wp-config.php every time something hiccups, this
plugin is the fix. One‑click toggles for WP_DEBUG (and friends) ✅, a readable log
viewer with filters + highlighting 🔎, and a SAVEQUERIES inspector that makes tracking
slow queries way less painful ⏱. Two killer features: Safe Mode that disables everything
except what you choose—perfect for “is it the plugin or the theme?” moments 🧪 An
in‑browser, WP‑CLI‑style terminal and DB tools that save me trips to SSH when I’m
on the move 🖥⚡ Bonus points for stack trace viz, hook inspector, and email alerts
when new errors pop ✉. It’s the kind of utility you don’t realize you need until
it saves your afternoon. Bottom line: clean UI, thoughtful features, no file‑editing
drama. Runs smooth on my client sites and my own projects here in Wisconsin. ⭐⭐
⭐⭐⭐

![](https://secure.gravatar.com/avatar/7185751c38066ceb863fc5eb567de1aa93ded6e85f637fa860ce44b0498c4dfe?
s=60&d=retro&r=g)

### 󠀁[Perfect for speed debugging](https://wordpress.org/support/topic/perfect-for-speed-debugging/)󠁿

 [Emmanuel BERTRAND](https://profiles.wordpress.org/websteem/) 2025 年 9 月 6 日

If you don’t have your FTP credentials near you, this plugin is a must have for 
debugging. Very easy to use.

 [ 阅读所有21条评价 ](https://wordpress.org/support/plugin/debug-log-config-tool/reviews/)

## 贡献者及开发者

「Debug Log – Manager Tool」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Lukman Nakib ](https://profiles.wordpress.org/pyrobd/)

[帮助将「Debug Log – Manager Tool」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/debug-log-config-tool)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/debug-log-config-tool/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/debug-log-config-tool/)，或通过[RSS](https://plugins.trac.wordpress.org/log/debug-log-config-tool/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/debug-log-config-tool/)。

## 更新日志

#### 2.0.1

 * Fix typo
 * Fix memory issue

#### 2.0.0

 * Added WP-CLI style command structure in terminal (e.g., `wp core version`)
 * Added database commands with WP-CLI syntax (`wp db query`, `wp db tables`, etc.)
 * Added terminal settings page to enable/disable terminal and database features
 * Added super admin restriction for database commands
 * Added support for SQL queries with proper security measures
 * Added stack trace visualization for better error analysis
 * Help command to show commands by category with organized sections
 * Enhanced security for terminal commands (preventing SQL injection, restricting
   destructive commands)
 * Quick Debug Toggle from admin bar (WP_DEBUG)

#### 1.5.3

 * Fix footer text on all page

#### 1.5.2

 * Added query logs

#### 1.5

 * Fixed Vulnerability of debug log file. Generating random file for debug.
 * Added a new safe mode which will turn off all plugins excluding selected ones.

#### 1.4.5

 * Fixed refresh

#### 1.4.2

 * New Constants
 * Removed database dependency

#### 1.4.4

 * Fixed Refresh Log
 * Added dashboard widget
 * Clean UI
 * Refresh Log
 * Email Notification

#### 1.0.0

 * Initial Version

## 额外信息

 *  版本 **2.0.1**
 *  最后更新：**1 年前**
 *  活跃安装数量 **3,000+**
 *  WordPress 版本 ** 5.6 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/debug-log-config-tool/)
 * 标签
 * [debug](https://cn.wordpress.org/plugins/tags/debug/)[developer](https://cn.wordpress.org/plugins/tags/developer/)
   [log](https://cn.wordpress.org/plugins/tags/log/)[tools](https://cn.wordpress.org/plugins/tags/tools/)
 *  [高级视图](https://cn.wordpress.org/plugins/debug-log-config-tool/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  21 条 5 星评价     ](https://wordpress.org/support/plugin/debug-log-config-tool/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/debug-log-config-tool/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/debug-log-config-tool/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/debug-log-config-tool/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/debug-log-config-tool/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/debug-log-config-tool/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/debug-log-config-tool/reviews/)

## 贡献者

 *   [ Lukman Nakib ](https://profiles.wordpress.org/pyrobd/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/debug-log-config-tool/)