Title: WP Marvelous Debug
Author: Pablo Pacheco
Published: <strong>Març 19, 2020</strong>
Last modified: Març 28, 2020

---

Search plugins

![](https://ps.w.org/wp-marvelous-debug/assets/banner-772x250.png?rev=2264200)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/wp-marvelous-debug/assets/icon-256x256.png?rev=2263579)

# WP Marvelous Debug

 By [Pablo Pacheco](https://profiles.wordpress.org/karzin/)

[Download](https://downloads.wordpress.org/plugin/wp-marvelous-debug.1.1.0.zip)

 * [Details](https://bal.wordpress.org/plugins/wp-marvelous-debug/#description)
 * [Reviews](https://bal.wordpress.org/plugins/wp-marvelous-debug/#reviews)
 *  [Installation](https://bal.wordpress.org/plugins/wp-marvelous-debug/#installation)
 * [Development](https://bal.wordpress.org/plugins/wp-marvelous-debug/#developers)

 [Support](https://wordpress.org/support/plugin/wp-marvelous-debug/)

## Description

This plugin allows viewing the log file (debug.log) on the Dashboard and editing
the debugging constants from `wp-config.php`. It also provides other debugging oriented
features.

The log file is loaded on the Dashboard **(Tools > Log File)** using the [/SplFileObject](https://www.php.net/manual/pt_BR/class.splfileobject.php)
class, optimized for memory usage, and it will use a pagination in order to load
only some lines from it.

The plugin will try to enable `WP_DEBUG` and `WP_DEBUG_LOG` to true and disable `
WP_DEBUG_DISPLAY` on its first run and will try to do the opposite when it’s deactivated.

You can change this behaviour if you want in the settings.

### WP Config Constants

The `wp-config.php` is being edited using [wp-cli/wp-config-transformer](https://github.com/wp-cli/wp-config-transformer)
library, and these are the edited constants:

 * `WP_DEBUG`
 * `WP_DEBUG_LOG`
 * `WP_DEBUG_DISPLAY`
 * `SCRIPT_DEBUG`
 * `SAVEQUERIES`

### Generate a reduced log file

It’s possible to generate a reduced duplicate log file (debug-reduced.log) from 
the original one loading only the last lines from it (something like the tail command
from Linux).

## Screenshots

 * [[
 * [[

## Installation

 1. Upload the entire ‘wp-marvelous-debug’ folder to the ‘/wp-content/plugins/’ directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Start by visiting plugin settings at Settings > Debugging.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WP Marvelous Debug” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Pablo Pacheco ](https://profiles.wordpress.org/karzin/)

[Translate “WP Marvelous Debug” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-marvelous-debug)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-marvelous-debug/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-marvelous-debug/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-marvelous-debug/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-marvelous-debug/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.0 – 27/03/2020

 * Add Try catch on `WPConfigTransformer` class
 * Add Log Styling options
 * Replace WP Config path by file

#### 1.0.2 – 19/03/2020

 * Add ‘Erase Log Content’ button

#### 1.0.1 – 18/03/2020

 * Improve readme
 * Add banner and screenshots

#### 1.0.0 – 16/03/2020

 * Initial Release.

## Meta

 *  Version **1.1.0**
 *  Last updated **6 anys ago**
 *  Active installations **20+**
 *  WordPress version ** 4.4 or higher **
 *  Tested up to **5.3.21**
 *  PHP version ** 7.0.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-marvelous-debug/)
 * Tags
 * [debug](https://bal.wordpress.org/plugins/tags/debug/)[debugging](https://bal.wordpress.org/plugins/tags/debugging/)
   [log](https://bal.wordpress.org/plugins/tags/log/)
 *  [Advanced View](https://bal.wordpress.org/plugins/wp-marvelous-debug/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/wp-marvelous-debug/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-marvelous-debug/reviews/)

## Contributors

 *   [ Pablo Pacheco ](https://profiles.wordpress.org/karzin/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-marvelous-debug/)