Title: DebugZen
Author: Parag Das
Published: <strong>6 верасня, 2026</strong>
Last modified: 8 верасня, 2026

---

Пошук плагінаў

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

![](https://ps.w.org/debugzen/assets/icon.svg?rev=3686903)

# DebugZen

 Аўтар: [Parag Das](https://profiles.wordpress.org/parag44/)

[Спампаваць](https://downloads.wordpress.org/plugin/debugzen.1.1.1.zip)

 * [Падрабязнасці](https://bel.wordpress.org/plugins/debugzen/#description)
 * [Водгукі](https://bel.wordpress.org/plugins/debugzen/#reviews)
 *  [Ўсталёўка](https://bel.wordpress.org/plugins/debugzen/#installation)
 * [Распрацоўка](https://bel.wordpress.org/plugins/debugzen/#developers)

 [Падтрымка](https://wordpress.org/support/plugin/debugzen/)

## Апісанне

DebugZen is the ultimate developer tool for WordPress troubleshooting. It gives 
administrators a powerful, focused dashboard screen for managing WordPress debugging
settings and diagnosing fatal errors, warnings, and notices in real time.

If you have ever struggled with finding the `debug.log` file, or if you need an 
intuitive error log viewer right inside your WordPress admin area, DebugZen makes
it effortless to monitor your site’s health and troubleshoot issues without relying
on FTP or SSH.

The plugin uses the battle-tested WP Config Transformer library to read, add, and
update these constants in `wp-config.php`:

 * `WP_DEBUG`
 * `WP_DEBUG_LOG`
 * `WP_DEBUG_DISPLAY`

DebugZen does not use fragile regex or string replacement to modify configuration
constants.

### Diagnostic Log Viewer & Smart Log Grouping

Instead of raw, unformatted text files that consume excessive memory, DebugZen provides
a structured, searchable diagnostic interface:

 * **Smart Log Grouping**: Automatically consolidates repeated identical errors 
   into single cards with occurrence counts and first/last seen timestamps.
 * **Source Code Context**: Expandable preview showing the exact lines of code surrounding
   an error, complete with line numbers, error highlighting, and a direct “View 
   in Editor” jump action.
 * **Severity Filtering & Search**: Instant debounced search and filtering across
   Fatal Errors, Warnings, Notices, Deprecations, and stack traces.
 * **Real-Time Live Tail**: High-performance streaming that reads newly appended
   log bytes using byte offsets without polling full files or exhausting PHP memory.
 * **Log Rotation & Size Management**: Monitor debug log size with visual thresholds,
   automatic truncation, or timestamped archival rotation.
 * **Secure Management**: Restrict every action to administrators with `manage_options`,
   protected by nonces and server-signed HMAC authentication.
 * **Zero External Dependencies**: Operates 100% locally with no telemetry, tracking,
   or remote CDNs.

#### Third-party libraries

DebugZen includes WP Config Transformer by the WP-CLI Development Group. It is distributed
under the MIT License. Its license is included at `vendor/wp-cli/wp-config-transformer/
LICENSE`.

This plugin does not contact external services, collect telemetry, or load remote
executable code.

## Скрыншоты

[⌊The DebugZen diagnostic dashboard with smart log grouping, severity filtering,
and live summary cards.⌉⌊The DebugZen diagnostic dashboard with smart log grouping,
severity filtering, and live summary cards.⌉[

The DebugZen diagnostic dashboard with smart log grouping, severity filtering, and
live summary cards.

[⌊The multi-tab Settings modal for managing WP_DEBUG constants, log rotation thresholds,
and viewer preferences.⌉⌊The multi-tab Settings modal for managing WP_DEBUG constants,
log rotation thresholds, and viewer preferences.⌉[

The multi-tab Settings modal for managing WP_DEBUG constants, log rotation thresholds,
and viewer preferences.

## Ўсталёўка

 1. Upload the `debugzen` folder to `/wp-content/plugins/`, or install the plugin ZIP
    from Plugins > Add New > Upload Plugin.
 2. If installing from source without the bundled `vendor` directory, run `composer
    install --no-dev --optimize-autoloader` inside the plugin directory.
 3. Activate DebugZen through the Plugins screen in WordPress.
 4. Open Tools > DebugZen.
 5. Ensure `wp-config.php` is writable before saving changes. Restore restrictive permissions
    after configuration if required by your hosting environment.

## Часта задаваныя пытанні

### Does the plugin directly edit debug constants with string replacement?

No. It uses WP Config Transformer to locate, read, add, and update debug constants
safely via AST tokenization.

### Why can I not save settings?

The plugin must be able to read and write `wp-config.php`. File ownership, permissions,
or host-level restrictions may prevent changes.

### Where is the debug log?

By default, WordPress writes the log to `wp-content/debug.log`. If `WP_DEBUG_LOG`
contains a custom path, DebugZen uses that path.

### How does Source Code Preview stay secure?

Source code inspection is protected by server-signed HMAC tokens, strict path traversal
checks, canonical realpath validation confined to the WordPress installation, and
explicit blacklists for `wp-config.php` and dotfiles. Files are never executed.

### Does DebugZen send data anywhere?

No. DebugZen has no telemetry, analytics, external API connection, or remote code
loading.

## Водгукі

На гэты плагін няма водгукаў.

## Удзельнікі і распрацоўшчыкі

“DebugZen” з’яўляецца праграмным забеспячэннем з адкрытым зыходным кодам. Наступныя
людзі ўнеслі свой уклад у гэты плагін.

Удзельнікі

 *   [ Parag Das ](https://profiles.wordpress.org/parag44/)

[Перакласці “DebugZen” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/debugzen)

### Зацікаўлены ў распрацоўцы?

[Праглядзіце код](https://plugins.trac.wordpress.org/browser/debugzen/), праверце
[SVN рэпазітарый](https://plugins.svn.wordpress.org/debugzen/), або падпішыцеся 
на [журнал распрацоўкі](https://plugins.trac.wordpress.org/log/debugzen/) па [RSS](https://plugins.trac.wordpress.org/log/debugzen/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змяненняў

#### 1.1.1

 * Bumped ‘Tested up to’ tag to 7.1.

#### 1.1.0

 * Major feature release introducing an interactive diagnostic log viewer, smart
   log grouping, and source code context preview.
 * Added Admin Toolbar quick link: Instant access to the DebugZen dashboard from
   anywhere in WordPress for users with manage_options capability.
 * Enhanced Visual Hierarchy: Redesigned log cards with intuitive color-coded severity
   indicators (Fatal Errors, Warnings, Notices, Deprecated) for quick scanning.
 * Added Smart Log Grouping: automatically consolidates repeated identical log entries
   into a single card with occurrence counts and first/last seen timestamps.
 * Added Log Grouping setting under Settings > Advanced (enabled by default) with
   real-time Live Tail duplicate merging.
 * Added Source Code Context preview around reported error lines with lazy loading,
   line number gutter, and error line highlight.
 * Added secure “View in Editor” action opening the WordPress Plugin/Theme file 
   editor directly positioned at the error line.
 * Added configurable context window setting (3, 5, 8, 10 lines) in Settings > Advanced.
 * Added dedicated log parser recognizing Fatal Errors, Warnings, Notices, Deprecations,
   and stack traces.
 * Added server-side debounced search, severity filtering, and memory-conscious 
   pagination.
 * Added high-performance Live Tail with byte-offset tracking to prevent server 
   memory spikes.
 * Added Log Size management with visual limit progress indicators and automatic
   truncation or timestamped rotation.
 * Added multi-tab Settings modal for General, Log Rotation, and Advanced options.
 * Added clean uninstallation routine (uninstall.php) removing plugin options.
 * Added server-signed HMAC authentication and strict path traversal protection 
   for source code preview.
 * Added secure Download Log and Copy Path actions.

#### 1.0.0

 * Initial release.
 * Added secure controls for `WP_DEBUG`, `WP_DEBUG_LOG`, and `WP_DEBUG_DISPLAY`.
 * Added a memory-conscious debug-log viewer and secure clear-log action.
 * Added WP Config Transformer integration.

## Мета

 *  Версія **1.1.1**
 *  Апошняе абнаўленне **1 дзень таму**
 *  Актыўных установак **Менш за 10**
 *  Версія WordPress ** 5.8 або вышэй **
 *  Правераны да версіі **7.1**
 *  Версія PHP ** 7.4 або вышэй **
 *  Мова
 * [English (US)](https://wordpress.org/plugins/debugzen/)
 * Тэгі
 * [debug](https://bel.wordpress.org/plugins/tags/debug/)[Debug log](https://bel.wordpress.org/plugins/tags/debug-log/)
   [error log](https://bel.wordpress.org/plugins/tags/error-log/)[troubleshooting](https://bel.wordpress.org/plugins/tags/troubleshooting/)
   [wp-config](https://bel.wordpress.org/plugins/tags/wp-config/)
 *  [Пашыраны прагляд](https://bel.wordpress.org/plugins/debugzen/advanced/)

## Ацэнкі

Пакуль яшчэ няма водгукаў.

[Ваш водгук](https://wordpress.org/support/plugin/debugzen/reviews/#new-post)

[Паглядзець усе водгукі](https://wordpress.org/support/plugin/debugzen/reviews/)

## Удзельнікі

 *   [ Parag Das ](https://profiles.wordpress.org/parag44/)

## Падтрымка

Ёсць што сказаць? Патрэбна дапамога?

 [Перайсці да форуму падтрымкі](https://wordpress.org/support/plugin/debugzen/)