[WordPress] 外掛分享: Debugger & Troubleshooter

首頁外掛目錄 › Debugger & Troubleshooter
WordPress 外掛 Debugger & Troubleshooter 的封面圖片
40+
安裝啟用
★★★★★
5/5 分(1 則評價)
34 天前
最後更新
100%
問題解決
WordPress 5.0+ PHP 7.4+ v1.3.2 上架:2025-07-07

內容簡介

```html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>

<h2>WordPress 外掛 Debug & Troubleshooter 總結:</h2>
<p>這個「Debug & Troubleshooter」外掛提供了 WordPress 網站管理員診斷和解決問題的必要工具,透過專用的區段於 WordPress 儀表板中顯示全面的網站健康資訊,包括 PHP 版本、記憶體限制、WordPress 常數、以及啟用的主題/外掛詳細資訊。</p>

<h3>功能特色:</h3>
<ul>
<li>全面的網站資訊: 快速瞭解您的 WordPress 環境,包括 PHP 設定、WordPress 版本、啟用的主題、啟用的外掛,以及重要的 WordPress 常數。</li>
<li>故障排除模式: 啟用獨特的「故障排除模式」讓您模擬主題切換和外掛停用,不影響其他訪客。</li>
<li>安全除錯: 所有故障排除動作都是基於會話使用 cookie,保證您在故障排除模式中進行的變更不會影響您的現場網站或訪客。</li>
<li>用戶友善的介面: 直观的儀表板介面讓訪問網站資訊和管理故障排除選項變得容易。</li>
<li>管理通知: 明確的通知提醒您何時進入故障排除模式,確保您始終知悉當前的除錯狀態。</li>
</ul>
</body>
</html>
```

```html
<h3>問題與答案:</h3>

<h4>問題 1: 如何進入「故障排除模式」?</h4>
<p><strong>答案:</strong> 請參考以下步驟進入故障排除模式:</p>
<ul>
<li>在 WordPress 儀表板中找到「故障排除模式」部分。</li>
<li>點擊「進入故障排除模式」按鈕。</li>
<li>頁面將重新載入,並在儀表板頂部出現黃色管理通知,表示已啟用故障排除模式。</li>
</ul>

<h4>問題 2: 如何模擬主題切換?</h4>
<p><strong>答案:</strong> 在故障排除模式中,請使用「模擬主題切換」下拉選單,選擇任一安裝的主題,該主題將僅在您的會話中生效。</p>

<h4>問題 3: 如何模擬外掛停用?</h4>
<p><strong>答案:</strong> 在「模擬外掛停用」部分中,您將看到所有安裝的外掛清單。預設情況下,滑鼠已在您現場網站上啟用的外掛上。</p>
<ul>
<li>若要模擬停用外掛以進行故障排除,只需取消勾選該外掛方塊即可。保持勾選的外掛將在您的故障排除會話中生效。</li>
</ul>

<h4>問題 4: 如何應用故障排除更改?</h4>
<p><strong>答案:</strong> 在選擇所需主題和外掛後,請點擊「應用故障排除更改」按鈕。頁面將重新載入,將模擬主題和外掛狀態應用於您的當前瀏覽器會話。</p>
```

外掛標籤

開發者團隊

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

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

原文外掛簡介

The “Debugger & Troubleshooter” plugin provides essential tools for WordPress site administrators to diagnose and resolve issues efficiently. It offers a dedicated section in the WordPress dashboard that displays comprehensive site health information and powerful debugging toggles.
Key Features:

Troubleshooting Mode: Activate a unique, session-based “Troubleshooting Mode” for your current browser session. This means any changes you make are temporary and only visible to you. This mode allows you to:

Simulate Plugin Deactivation: Selectively “deactivate” plugins. The plugin’s assets and code will be disabled for your session only.
Simulate Theme Switching: Preview any installed theme, while the public-facing site continues to use the active theme.

User Role Simulator: View your site as any other user or role (e.g., Subscriber, Editor) to test permissions and content visibility. This is session-based and includes a safe “Exit” button in the Admin Bar.
Live Debugging: Safely enable WP_DEBUG with a single click from the admin dashboard. Errors are logged to debug.log without being displayed on the site, and you can view the log file directly in the plugin’s interface.
Comprehensive Site Information: Get a quick, organized overview of your WordPress environment in collapsible cards. This includes detailed PHP, Database, and Server information, a full list of all themes and plugins with their status, and important WordPress constants.
Copy to Clipboard: A one-click button allows you to copy all the site information, making it incredibly easy to share with support forums or developers.
Safe Debugging & Cache Bypassing: All troubleshooting actions are session-based. The plugin automatically attempts to bypass caching when Troubleshooting Mode is active, ensuring your changes are reflected instantly.
User-Friendly Interface: An intuitive dashboard interface makes it easy to access all features.
Admin Notices: Clear notices alert you when Troubleshooting Mode is active.

This plugin is an invaluable tool for developers, site administrators, and anyone who needs to debug WordPress issues without risking site downtime or affecting user experience.
Usage
Once the plugin is installed and activated, navigate to Tools > Debugger & Troubleshooter in your WordPress dashboard.
1. Site Information
The top section provides a comprehensive overview of your WordPress environment, organized into collapsible cards that are closed by default. Click on any card title to expand it and view the details.
2. Troubleshooting Mode
This session-based feature allows you to simulate theme switches and plugin deactivations without affecting your live website for other visitors.
3. User Role Simulator
Safely view your site as another user or role (e.g., “Subscriber” or “Editor”) without knowing their password. This is perfect for testing capabilities and content restrictions.
4. Live Debugging
This section allows you to safely manage WordPress’s debugging features.

Enable Live Debug: Click this button to programmatically enable WP_DEBUG and WP_DEBUG_LOG, while keeping WP_DEBUG_DISPLAY off. This logs errors to wp-content/debug.log without showing them to visitors.
Debug Log Viewer: A text area displays the contents of your debug.log file, allowing you to see errors as they are generated.
Clear Log: Safely clear the debug.log file with a click.

延伸相關外掛

文章
Filter
Mastodon