[WordPress] 外掛分享: AnyWareX Debug Switch

首頁 › 外掛目錄 › AnyWareX Debug Switch
WordPress 外掛 AnyWareX Debug Switch 的封面圖片
全新外掛
安裝啟用
—
尚無評分
2 天前
最後更新
—
問題解決
WordPress 6.0+ PHP 8.0+ v1.0.1 上架:2026-10-12

內容簡介

AnyWareX Debug Switch 提供管理介面,讓使用者能夠啟用或停用 WordPress 除錯功能,查看 debug.log,下載或清除日誌,並檢視嚴重性摘要,幫助開發者更有效地管理除錯過程。

【主要功能】
• 啟用或停用 WordPress 除錯功能
• 查看和管理 debug.log 日誌
• 下載或清除日誌內容
• 檢視除錯嚴重性摘要
• 支援對配置進行預覽和確認

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「AnyWareX Debug Switch」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

AnyWareX Debug Switch provides an administrator interface for enabling and disabling WordPress debugging, viewing debug.log, downloading or clearing the log, and reviewing a severity summary.
Usage and safety

Run Preflight to verify three existing single-line literal debug definitions before the WordPress bootstrap.
Choose Enable Debug or Disable Debug to preview the current and proposed values.
Explicitly confirm the displayed changes. The configuration is reread, its hash compared, and definitions revalidated before one write attempt.
If the file changed, the preview expired, or the configuration is unsupported, create a new preview after reviewing the issue.

Only the three debug boolean tokens are edited. Missing definitions are never inserted. Additional ordinary constants and independent plugin settings are supported; uncertain PHP constructs are rejected. Configuration editing requires the local direct WordPress filesystem and a regular non-symlink file.
Direct writes are not atomic. A partial write can damage wp-config.php and stop WordPress. There is no automatic retry or rollback. Keep an independent protected backup outside the web root and inspect write errors externally. The plugin lock serializes plugin requests, but cannot prevent external file changes. A crashed request may leave an editor lock; see README.md for administrator recovery.
Previews expire after ten minutes, are user/session/blog-bound, and contain metadata only. A new preview replaces that user’s previous preview. No passwords, salts or configuration source are displayed or stored in preview metadata. Existing debug values and logs are not reverted by deactivation or uninstall.
Log Viewer, Summary, Download, Clear and Refresh remain available even when configuration editing is disabled. The managed log path is WP_CONTENT_DIR/debug.log. Protect logs at server level and disable debugging after use. WordPress.org review acceptance is not established by these changes.

延伸相關外掛

文章
Filter
Mastodon