[WordPress] 外掛分享: Lumiblog Debug Log Inspector

WordPress 外掛 Lumiblog Debug Log Inspector 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Lumiblog Debug Log Inspector」是 2026-01-27 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2026-02-15,距離現在已有 10 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

lumiblog |

外掛標籤

log | debug | monitor | testing | error tracking |

內容簡介

**Lumiblog Debug Log Inspector 繁體中文總結:**

Lumiblog Debug Log Inspector 是一個功能強大的品質保證和除錯工具,它監控您的 WordPress debug.log 文件以尋找特定於外掛的錯誤。不同於其他除錯工具,它允許您透過使用簡單易用的設置界面監控任何 WordPress 外掛 - 無需編碼!

### 問題與答案

1. 這款工具的特色有哪些?
- 通用外掛監控:透過簡單的設置頁面添加任何 WordPress 外掛進行監控
- 無需編碼修改:透過 WordPress 管理界面添加/編輯/刪除被監控的外掛
- 實時監控:自動掃描您的 debug.log 文件以查找錯誤
- 視覺狀態指示:色碼管理列顯示(綠色 = 正常,紅色 = 發現錯誤,灰色 = 除錯記錄停用)
- 自動偵測:僅監控目前啟用的外掛的選項
- 外掛特定追踪:每個被監控外掛的獨立狀態
- 最近錯誤顯示:快速診斷的最近錯誤訊息
- 防止重複:智能驗證防止重複添加相同的外掛
- 啟用/停用外掛:在不刪除外掛的情況下切換特定外掛的監控
- 輕量:有效讀取日誌並且對性能影響較小
- 良好組織的程式碼:模組化的文件結構便於維護和自定義

2. 這款工具適用於哪些人群?
- 測試多個外掛的 QA 團隊
- 調試自己外掛的外掛開發人員
- 監控客戶網站的 WordPress 開發人員
- 管理多個 WordPress 安裝的代理團隊
- 任何希望跟踪外掛錯誤的人

3. 如何使用 Lumiblog Debug Log Inspector?
- 安裝並啟用外掛
- 轉至設置 > 日誌檢查器
- 通過提供以下資訊添加您想要監控的任何外掛:
- 外掛名稱(例如,“WooCommerce”)
- 外掛文件路徑(例如,“woocommerce/woocommerce.php”)
- 搜索用語(例如,“woocommerce, wc-”)
- 檢查管理欄以查看實時錯誤狀態

4. 若要有效使用這款工具,需要哪些先決條件?
- 必須啟用 WordPress 的除錯記錄,將以下常數添加到您的 wp-config.php 文件中:
- define( 'WP_DEBUG', true );
- define( 'WP_DEBUG_LOG', true );

5. 如何驗證 Lumiblog Debug Log Inspector 是否正常運作?
- 按照步驟進行:啟用除錯記錄,添加要監控的外掛,生成測試錯誤,檢查結果並查看除錯日誌。

以上為 Lumiblog Debug Log Inspector 的介紹及使用方式。

原文外掛簡介

Lumiblog Debug Log Inspector is a powerful quality assurance and debugging tool that monitors your WordPress debug.log file for plugin-specific errors. Unlike other debug tools, it allows you to monitor ANY WordPress plugin through an easy-to-use settings interface – no coding required!
Key Features

Universal Plugin Monitoring: Add any WordPress plugin to monitor through a simple settings page
No Code Editing: Add/edit/delete monitored plugins through the WordPress admin interface
Real-time Monitoring: Automatically scans your debug.log file for errors
Visual Status Indicators: Color-coded admin bar display (Green = OK, Red = Errors Found, Gray = Debug Logging Disabled)
Auto-Detection: Option to only monitor plugins that are currently active
Plugin-Specific Tracking: Individual status for each monitored plugin
Last Error Display: Shows the most recent error message for quick diagnosis
Duplicate Prevention: Smart validation prevents adding the same plugin twice
Enable/Disable Plugins: Toggle monitoring for specific plugins without deleting them
Lightweight: Minimal performance impact with efficient log reading
Well-Organized Code: Modular file structure for easy maintenance and customization

Perfect For

QA Teams testing multiple plugins
Plugin Developers debugging their own plugins
WordPress Developers monitoring client sites
Agency Teams managing multiple WordPress installations
Anyone who wants to keep track of plugin errors

How It Works

Install and activate the plugin
Go to Settings > Log Inspector
Add any plugin you want to monitor by providing:

Plugin Name (e.g., “WooCommerce”)
Plugin File Path (e.g., “woocommerce/woocommerce.php”)
Search Terms (e.g., “woocommerce, wc-“)

Check the admin bar for real-time error status

Requirements
To use this plugin effectively, you need to enable WordPress debug logging by adding these constants to your wp-config.php file:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );

Testing the Plugin
To verify Lumiblog Debug Log Inspector is working correctly, follow these steps:
Step 1: Enable Debug Logging
Add to your wp-config.php:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );

Step 2: Add a Plugin to Monitor

Go to Settings > Log Inspector
Click “Add New Plugin to Monitor”
Fill in the form with a plugin you have installed (e.g., WooCommerce)

Plugin Name: WooCommerce
Plugin File Path: woocommerce/woocommerce.php
Search Terms: woocommerce, wc-

Click “Add Plugin”

Step 3: Generate a Test Error
Note: Ensure that the test site is running on PHP 8.4+

Add this code snippet inside of any active plugin’s main file:
/**

DEBUG LOG INSPECTOR DEMO – PHP 8.4 Warning Trigger
REMOVE AFTER DEMO/TESTING!
*/
add_action( ‘load-index.php’, function() {
if ( version_compare( PHP_VERSION, ‘8.4.0’, ‘>=’ ) ) {
$test_array = array( ‘name’ => ‘Debug Log Inspector’ );
$undefined_value = $test_array[’email’]; // Triggers warning
error_log( ‘[DLI-DEMO-PHP84] PHP 8.4 warning triggered!’ );
}
});

Reload the site’s admin dashboard to trigger the error

Check your admin bar – it should turn RED

Step 4: View the Debug Log (Optional)
Navigate to wp-content/debug.log to see the actual error entries that were logged.
Clean Up:

Remove the test code you added
Either delete wp-content/debug.log or clear its contents
The admin bar should return to GREEN

Additional Information
Debug Constants
For enhanced debugging, you can also add these optional constants to your wp-config.php:
define( 'SCRIPT_DEBUG', true );
define( 'SAVEQUERIES', true );
define( 'WP_DEBUG_DISPLAY', false ); // Set to false on production sites

For Developers
The plugin is designed to be easily extendable. All classes are well-documented and follow WordPress coding standards. Feel free to fork and customize for your specific needs.
Support
For support, feature requests, or bug reports, please visit the WordPress.org support forums for this plugin.
Contributing
Contributions are welcome! Please visit the plugin’s Github Repo for more information.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Lumiblog Debug Log Inspector」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.1.0 | trunk |

延伸相關外掛(你可能也想知道)

  • WP Crontrol 》WP Crontrol 可以讓您查看和控制 WP-Cron 系統中正在發生的事件。從管理界面,您可以:, , 查看所有的 Cron 事件以及它們的參數、循環間隔時間、回撥函數以及...。
  • Query Monitor – The developer tools panel for WordPress 》ministrator user). This cookie can be set by defining QM_AUTH_KEY in your wp-config.php file., To learn more about how to use Query Monitor, please...。
  • P3 (Plugin Performance Profiler) 》這個外掛程式可以創建您 WordPress 網站的外掛程式效能概況,並且藉由測量這些外掛對網站載入時間的影響。通常WordPress網站由於過多或配置不佳的外掛程式而...。
  • Debug Bar 》在管理列上新增一個除錯選單,顯示查詢、快取及其他有用的除錯資訊。, 開發者必備的外掛!, 當啟用WP_DEBUG時,也會追蹤 PHP 的警告和注意事項,使它們更容易...。
  • WP Debugging 》此外掛在啟用時會在 wp-config.php 中設定以下偵錯常數,並在停用時移除它們。任何錯誤都會導致拋出 PHP Exception。偵錯常數請參考 WordPress 的「Debugging...。
  • Debug Log Manager – Conveniently Monitor and Inspect Errors 》Debug Log Manager 可以讓您:, , 單擊啟用 WP_DEBUG 以記錄 PHP、數據庫和 JavaScript 錯誤,不需要手動編輯 wp-config.php 文件,完成後再禁用。 , 在自訂...。
  • My WP Customize Admin/Frontend 》這個外掛讓管理者和前端使用者都能輕鬆地進行自訂設定。許多自訂篩選器和操作,還包含開發者工具。, 示範網站在這裡:https://tastewp.com/new/?pre-installe...。
  • Code Profiler – WordPress Performance Profiling and Debugging Made Easy 》一個可以測量 WordPress 外掛與佈景主題效能的分析工具。, Code Profiler 可以協助您在 PHP 層面上測量您的外掛與佈景主題的效能,並快速找到任何潛在的 Word...。
  • reBusted! 》這個外掛可以免去你問「你有清空快取嗎?」的問題。, 這是根據原本由 Paul Clark 開發的外掛更新,以符合今天的 WordPress 和 PHP。, 功能, , 在線上網站上安...。
  • Plugin Detective – Troubleshooting Conflicts 》Plugin Detective 可以幫助您快速且輕鬆地排除網站上的問題,並找出問題的原因。一旦找到罪犯,您可以快速停用有問題的外掛程式。甚至當您的網站出現白屏、致...。
  • which template file 》想知道 WordPress 在前台顯示頁面時使用哪個模板嗎?, 這個外掛可以幫您達成這個目的。您可以在免費的模擬網站上嘗試使用:點此連結 => https://tastewp.c...。
  • Dashboard Widgets Suite 》插件名稱:Dashboard Widgets Suite(控制面板小工具套裝), , 該外掛提供 1 個插件與 9 個小工具,可簡化您的工作流程並提高工作效率。該套裝小工具包括以下...。
  • Debug Log – Manager Tool 》這是一個簡單的除錯日誌外掛程式,您可以在儀表板中檢查除錯日誌。透過一個點擊,您可以啟用或停用除錯功能(例如 ‘ WP_DEBUG’、‘WP_DEBUG...。
  • WP Safe Mode 》WP Safe Mode 可讓您暫時停用/啟用特定外掛,並切換到其他佈景主題以檢視您的網站。, 如果您遇到特定外掛或佈景主題的問題並需要進行疑難排解,但又不想影響...。
  • Template Debugger 》你是否常常感到困惑,想知道你正在編輯的模板檔案是哪一個?你曾經因為不確定 WordPress 是否正在使用你期望的檔案而印出一些文字嗎?, 如果是的話,試試這個...。

文章
Filter
Apply Filters
Mastodon