Title: Debugger &amp; Troubleshooter
Author: Jhimross Olinares
Published: <strong>8 Juli 2025</strong>
Last modified: 19 Maret 2026

---

Cari plugin

![](https://ps.w.org/debugger-troubleshooter/assets/banner-772x250.png?rev=3459578)

![](https://ps.w.org/debugger-troubleshooter/assets/icon-256x256.png?rev=3323985)

# Debugger & Troubleshooter

 Oleh [Jhimross Olinares](https://profiles.wordpress.org/jhimross/)

[Unduh](https://downloads.wordpress.org/plugin/debugger-troubleshooter.1.4.0.zip)

 * [Detail](https://id.wordpress.org/plugins/debugger-troubleshooter/#description)
 * [Ulasan](https://id.wordpress.org/plugins/debugger-troubleshooter/#reviews)
 *  [Instalasi](https://id.wordpress.org/plugins/debugger-troubleshooter/#installation)
 * [Pengembangan](https://id.wordpress.org/plugins/debugger-troubleshooter/#developers)

 [Bantuan](https://wordpress.org/support/plugin/debugger-troubleshooter/)

## Deskripsi

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.

## Tangkapan Layar

 * [[
 * The main Debugger & Troubleshooter dashboard showing all feature sections.
 * [[
 * An expanded view of the Site Information card, showing detailed lists of themes
   and plugins.
 * [[
 * An example of the admin notice when Troubleshooting Mode is active.
 * [[
 * The Live Debugging section with the log viewer.
 * [[
 * The User Role Simulator feature to switch to other user.

## Instalasi

 1. **Download** the plugin ZIP file.
 2. **Upload** the plugin to your WordPress site:
 3.  * Navigate to **Plugins > Add New** in your WordPress dashboard.
     * Click the “Upload Plugin” button.
     * Choose the downloaded ZIP file and click “Install Now”.
 4. **Activate** the plugin through the ‘Plugins’ menu in WordPress.
 5. Once activated, go to **Tools > Debugger & Troubleshooter** to access the plugin’s
    features.

**Manual Installation (if needed):**

 1. **Extract** the `debug-troubleshooter.zip` file.
 2. **Upload** the `debug-troubleshooter` folder to the `/wp-content/plugins/` directory
    via FTP or your hosting’s file manager.
 3. **Activate** the plugin through the ‘Plugins’ menu in WordPress.

## Tanya Jawab

### Q: How does Troubleshooting Mode work without affecting my live site?

A: Troubleshooting Mode uses a browser cookie specific to your session. When enabled,
the plugin filters WordPress functions that determine active plugins and themes,
redirecting them to your simulated settings. This happens only for your browser.

### Q: Will this work if I have a caching plugin active?

A: Yes. When Troubleshooting Mode is active, the plugin defines the `DONOTCACHEPAGE`
constant, which instructs most caching plugins and hosting environments to bypass
the cache for your session.

### Q: How does Live Debugging work without editing wp-config.php?

A: The plugin uses the `plugins_loaded` hook to define the `WP_DEBUG` constants 
programmatically. This happens very early in the WordPress loading sequence, effectively
enabling debug mode for all requests while the feature is turned on.

## Ulasan

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

### 󠀁[Innovative plugin](https://wordpress.org/support/topic/innovative-plugin-5/)󠁿

 [Anand Upadhyay](https://profiles.wordpress.org/anandau14/) 25 Juli 2025 2 balasan

This is a very innovative plugin. The functionality of simulating theme switch and
plugin deactivation for current logged in session is amazing. This will be super
useful while debugging live site.

 [ Baca semua 1 ulasan ](https://wordpress.org/support/plugin/debugger-troubleshooter/reviews/)

## Kontributor & Pengembang

“Debugger & Troubleshooter” adalah perangkat lunak open source. Berikut ini mereka
yang sudah berkontribusi pada plugin ini.

Kontributor

 *   [ Jhimross Olinares ](https://profiles.wordpress.org/jhimross/)

“Debugger & Troubleshooter” telah diterjemahkan dalam 1 bahasa. Terima kasih kepada
[para penerjemah](https://translate.wordpress.org/projects/wp-plugins/debugger-troubleshooter/contributors)
untuk kontribusi-nya.

[Terjemahkan “Debugger & Troubleshooter” dalam bahasa Anda.](https://translate.wordpress.org/projects/wp-plugins/debugger-troubleshooter)

### Tertarik mengembangkan?

[Lihat kode](https://plugins.trac.wordpress.org/browser/debugger-troubleshooter/),
periksa [repositori SVN ](https://plugins.svn.wordpress.org/debugger-troubleshooter/),
atau mendaftar ke [log pengembangan](https://plugins.trac.wordpress.org/log/debugger-troubleshooter/)
melalui [RSS](https://plugins.trac.wordpress.org/log/debugger-troubleshooter/?limit=100&mode=stop_on_copy&format=rss).

## Log Perubahan

#### 1.4.0 – 2026-03-19

 * **Security Fix (Critical):** Resolved a privilege escalation vulnerability where
   unauthenticated users could bypass authentication via the User Simulation feature.
 * **Security Fix (High):** Patched an authorization bypass in the Troubleshooting
   Mode configuration. State is now securely validated against database records 
   using cryptographic tokens.
 * **Security Fix (Medium):** Added strict nonces to the “Exit Simulation” admin
   bar action to prevent Cross-Site Request Forgery (CSRF).
 * **Fix:** Completely overhauled the “Troubleshooting Mode” plugin logic. The plugin
   now correctly intercepts early plugin loading via an automatically dropping MU(
   Must-Use) plugin template, resolving the issue where plugins were not adequately
   disabled during simulations.
 * **Fix:** Disconnected WP_Filesystem API usage from AJAX context actions down 
   to native PHP handlers to prevent silent AJAX failures on servers requiring FTP
   credentials.
 * **Fix:** Adjusted the “Exit Simulation” JavaScript rendering hook to ensure the“
   Exit Simulation” admin bar button functions properly on the front-end.

#### 1.3.2 – 2026-02-11

 * **Fix:** Resolved a UI conflict where the confirmation modal appeared automatically
   upon page load due to CSS class interference from other plugins.
 * **Fix:** Improved modal layering (z-index) to ensure the Success/Error alert 
   modal correctly appears above the confirmation modal.
 * **Fix:** Updated the “Confirm” action in the Debug Log viewer to automatically
   close the confirmation dialog before showing the result, preventing the UI from
   becoming unclickable.
 * **Enhancement:** Hardened the .hidden CSS utility with !important to prevent 
   external themes or plugins from forcing hidden elements to display.

#### 1.3.1 – 2025-11-21

 * **Fix:** Resolved a critical issue where admin scripts were not loading due to
   a hook name mismatch.
 * **Fix:** Addressed WordPress coding standard issues (deprecated functions, security
   hardening).

#### 1.3.0 – 2025-11-21

 * **Feature:** Added “User Role Simulator” to view the site as any user or role
   for the current session.
 * **Enhancement:** Added an Admin Bar “Exit Simulation” button for safe return 
   to the administrator account.
 * **Fix:** Improved layout stability for the troubleshooting dashboard.

#### 1.2.1 – 2025-07-11

 * **Fix:** Addressed all security and code standard issues reported by the Plugin
   Check plugin, including escaping all output and using the `WP_Filesystem` API
   for file operations.
 * **Fix:** Replaced the native browser `confirm()` dialog with a custom modal for
   a better user experience and to prevent potential browser compatibility issues.

#### 1.2.0 – 2025-07-11

 * **Feature:** Added “Live Debugging” section to safely enable/disable `WP_DEBUG`
   and `WP_DEBUG_LOG` from the UI without editing `wp-config.php`.
 * **Feature:** Added a `debug.log` file viewer and a “Clear Log” button to the 
   Live Debugging section.

#### 1.1.1 – 2025-07-10

 * **Fix:** Implemented cache-bypassing measures for Troubleshooting Mode. The plugin
   now defines the `DONOTCACHEPAGE` constant and sends no-cache headers to ensure
   compatibility with most caching plugins and server-side caches.

#### 1.1.0 – 2025-07-09

 * **Feature:** Site Information cards (WordPress, PHP, Database, Server, Constants)
   are now collapsible and closed by default for a cleaner interface.
 * **Feature:** Added a “Copy to Clipboard” button to easily copy all site information
   for support requests or documentation.
 * **Enhancement:** The “WordPress Information” card now displays a detailed list
   of all installed themes and plugins, along with their respective active, inactive,
   or network-active status.
 * **Enhancement:** The theme and plugin lists within the “WordPress Information”
   card are now compact, showing counts by default with a “Show All” toggle to view
   the complete list.
 * **Enhancement:** Expanded the displayed information for PHP, Server, and WordPress
   constants.
 * **Fix:** Resolved a bug that prevented the collapsible sections from functioning
   correctly.

#### 1.0.0 – 2025-06-25

 * Initial release.

## Meta

 *  Versi **1.4.0**
 *  Diperbarui **3 minggu yang lalu**
 *  Instalasi Aktif **60+**
 *  Versi WordPress ** 5.0 atau yang terbaru **
 *  Diuji hingga **6.9.4**
 *  Versi PHP ** 7.4 atau yang terbaru **
 *  Bahasa
 * [English (US)](https://wordpress.org/plugins/debugger-troubleshooter/) dan [Tagalog](https://tl.wordpress.org/plugins/debugger-troubleshooter/).
 *  [Terjemahkan dalam bahasa Anda](https://translate.wordpress.org/projects/wp-plugins/debugger-troubleshooter)
 * Tag
 * [debug](https://id.wordpress.org/plugins/tags/debug/)[developer](https://id.wordpress.org/plugins/tags/developer/)
   [PHP Info](https://id.wordpress.org/plugins/tags/php-info/)[troubleshoot](https://id.wordpress.org/plugins/tags/troubleshoot/)
 *  [Tampilan lanjut](https://id.wordpress.org/plugins/debugger-troubleshooter/advanced/)

## Rating

 5 dari 5 bintang.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/debugger-troubleshooter/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/debugger-troubleshooter/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/debugger-troubleshooter/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/debugger-troubleshooter/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/debugger-troubleshooter/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/debugger-troubleshooter/reviews/#new-post)

[Lihat semua ulasan](https://wordpress.org/support/plugin/debugger-troubleshooter/reviews/)

## Kontributor

 *   [ Jhimross Olinares ](https://profiles.wordpress.org/jhimross/)

## Bantuan

Ada yang ingin dikatakan? Butuh bantuan?

 [Lihat forum bantuan](https://wordpress.org/support/plugin/debugger-troubleshooter/)

## Donasi

Apakah Anda ingin mendukung pengembangan plugin ini?

 [ Donasi untuk plugin ini ](https://paypal.me/jhimross28)