[WordPress] 外掛分享: SSP Debug

WordPress 外掛 SSP Debug 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「SSP Debug」是 2025-11-19 上架。 目前已經下架不再更新,不建議安裝使用。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2025-11-20,距離現在已有 98 天。
  • 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

jimmyredline80 |

外掛標籤

debug | logging | error log | exceptions | troubleshooting |

內容簡介

**總結:**
SSP Debug 是一個完整的錯誤記錄系統,直接內建在WordPress中,幫助網站擁有者和開發人員在無需訪問伺服器錯誤日誌的情況下識別問題。

**問題與答案:**
1. 如何打開或關閉日誌記錄?
- 可以在SSP Debug中切換日誌記錄開啟/關閉。

2. 可以選擇什麼樣的錯誤級別進行記錄?
- 可以選擇記錄所有錯誤或僅致命錯誤(E_ERROR/E_PARSE等)。

3. 什麼時候會捕獲未處理的異常和關閉致命錯誤?
- 在使用詳細格式時附加相關細節(URL、IP、使用者代理、使用者ID)。

4. 可以選擇何種時區來標記時間戳記?
- 可以選擇使用網站默認、UTC或友好地區名稱。

5. 如何設置記錄大小限制,使量超過限制時自動截斷?
- 可以設置記錄大小上限(MB),達到上限時會自動截斷。

6. 如何清除或下載當前的日誌?
- 可以從管理屏幕中清除日誌,也可以將當前日誌下載為文件。

7. 這個外掛的日誌存儲在哪裡?
- 日誌存儲在 wp-content/ssp-debug.log 中。

8. 這個外掛的管理界面位於哪裡?
- 管理界面位於WordPress儀表板中的SSP Debug下。

9. 這個外掛是否符合WordPress編碼標準?
- 這個外掛遵循了WordPress編碼標準,是國際化-ready,並全部本地存儲。

10. 所提到的外部服務包括什麼內容?
- 這個外掛包括了一個可選的關於/展示分頁,其中包含指向stupidsimpleplugins.com頁面的標準超連結。

11. 啦 使用Detailed格式時可能會為哪些訊息記錄信息?
- 使用Detailed格式時,可能會記錄當前請求的URL、IP地址、使用者代理,以及(如果有登錄)使用者ID。

12. 如何清除或下載詳細格式的信息?
- 可以隨時從外掛的管理頁面清除或下載這些信息。

原文外掛簡介

SSP Debug provides a complete error logging system built directly into WordPress, helping site owners and developers identify problems without needing access to server error logs.
Key points

Toggle logging on/off.
Choose All or Fatal-only (E_ERROR/E_PARSE/etc.).
Capture uncaught exceptions and shutdown fatals.
Append contextual details (URL, IP, User Agent, User ID) when using Detailed format.
Select a timezone for timestamps (site default, UTC, or friendly region names).
Limit log size (MB) with automatic truncation when the limit is exceeded.
Maintain a custom ignore list (substrings or regex) to filter noise.
Include/exclude sources by scope: MU-plugins, Plugins, Themes, Core/Other.
Download the current log as a file.
Clear the log from the admin screen.
Optional Showcase tab that includes static links to related plugins.

Logs are stored in wp-content/ssp-debug.log.
The admin interface is located under SSP Debug in your WordPress dashboard.
This plugin follows WordPress coding standards (escaping, nonces, WP_Filesystem, wp_date()), is internationalization-ready, and stores everything locally.
Features

Enable/disable logging
All vs. Fatal-only levels
Exception & shutdown fatal capture
Detailed context mode
Timezone selection
Size limit with auto-truncate
Scope filtering (MU/Plugins/Themes/Core)
Ignore list (substring or regex)
Download log
Clear log
Translation ready
Admin UI

External Services
This plugin includes an optional About/Showcase tab containing standard hyperlinks to pages on stupidsimpleplugins.com.
– No data is transmitted automatically.
– No background connections are made by the plugin.
– When a user clicks one of these links, the browser opens the destination page on StupidSimplePlugins.com.
– These links are provided solely for informational and navigational purposes.
For transparency, here are the relevant policies for that website:
– Terms of Service: https://www.stupidsimpleplugins.com/terms-and-conditions/
– Privacy Policy: https://www.stupidsimpleplugins.com/privacy-policy/
Privacy
When Detailed format is enabled, requests may log the current request’s URL, IP address, User Agent, and (if logged in) User ID.
This information is written only to the local file wp-content/ssp-debug.log and never transmitted externally.
The log can be cleared or downloaded at any time from the plugin’s admin page.
Localization

Text domain: ssp-debugging
Domain path: /languages
Load translations from languages/ssp-debugging-{locale}.mo

各版本下載點

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

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


1.0.0 | trunk |

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

  • Airbrake 》該外掛可以收集和整合 WordPress 及其外掛程式所產生的所有錯誤。它將消除重複的錯誤並提供開發人員快速修復問題的指引。。

文章
Filter
Apply Filters
Mastodon