✨ Up to
-70%
on the 1st year
Days
Hours
Minutes
Seconds

Advanced Debug Mode: enable and control WordPress debugging in total security

Introduction

When developing or maintaining a WordPress site, the debug is indispensable for quickly identifying PHP errors, notices or warnings. However, correctly activating the debug mode is often a hassle: you have to modify the wp-config.phpmanage error display, secure the file debug.logand sometimes juggle several environments (local, staging, production).

It's exactly to simplify all this that we've developed the Advanced Debug Mode from WPMasterToolKit centralized, secure and advanced WordPress debug management, directly from the administration interface.

Discover the module :
Pro

Which plug-ins can Advanced Debug Mode replace?

The module Advanced Debug Mode can replace several types of plugins or snippets:

  • Plugins dedicated solely to the activation of WP_DEBUG
  • Extensions that move or secure the file debug.log
  • Back-office log visualization solutions
  • Manual snippets to protect debug.log via .htaccess or nginx.conf

With WPMasterToolKit, everything is grouped together in a single module, loaded only when activated.

Enabling and managing advanced WordPress debug mode

Once the module has been activated, Advanced Debug Mode automatically takes control of essential WordPress constants:

  • WP_DEBUG
  • WP_DEBUG_LOG
  • WP_DEBUG_DISPLAY

You no longer need to manually modify your wp-config.php. The module takes care of adding or replacing constants reliably and securely.

From the interface, you can immediately view :

  • The current state of each constant
  • The exact path of the log file used
  • Changes to be applied during backup

Whether or not to display errors on screen

The module lets you easily activate or deactivate the Display Errors :

  • Activation: PHP errors are displayed on screen (WP_DEBUG_DISPLAY = true)
  • Deactivation: errors are only recorded in logs

This option is particularly useful for development environments, but is not recommended for production sites.

Securing log files (PRO)

One of the major problems with WordPress debugging is public access to the debug.log.
The module Advanced Debug Mode offers a robust solution (PRO version):

  • On Apache automatic addition of rules to the file .htaccess
  • On Nginx generation of a snippet ready to be integrated into the server configuration

Direct HTTP access to the log file is thus completely blocked, reinforcing your site's security.

Personalized log file (PRO)

By default, WordPress stores the debug.log in the wp-content.
With Advanced Debug Modeyou can activate a personalized log file :

  • Files are moved to a folder dedicated to WPMasterToolKit
  • The path is clearly displayed in the interface
  • This approach makes it easier to protect and organize logs

This is ideal for professional sites and environments with a high volume of errors.

Daily log files (PRO)

To go even further, the module can generate daily logs :

  • One file per day (debug-YYYY-MM-DD.log)
  • Fewer large files
  • Easy analysis by date

This option only works when the custom log folder is enabled.

Real-time log viewing (PRO)

The module Advanced Debug Mode integrates a Live Log Viewer directly in WordPress administration:

  • Real-time log reading
  • Starting and stopping streaming
  • Clear display
  • Download log file
  • Complete file deletion debug.log
  • Display option with line break

All actions are secured via AJAX, with verification of rights and WordPress nonces.

How to use Advanced Debug Mode

  1. Activate the Advanced Debug Mode in WPMasterToolKit
  2. Access its settings from the administration menu
  3. Configure error display to suit your environment
  4. (PRO) Activate log protection and custom folder
  5. (PRO) Use the log viewer to analyze errors live

No manual file modification is required.

Our technical choices

We have chosen :

  • Clean handling of WordPress constants via a dedicated class
  • Charge module only when activated
  • Secure all AJAX actions (nonce + permissions)
  • Offer Apache and Nginx compatibility
  • Offer advanced functionality without compromising front-end performance

Every feature is designed to remain optional, claire and controlled.

Pro
1 site
3.50$
/Month
14
Days
Money-back guarantee
risk-free at 100 %!

Conclusion

The module Advanced Debug Mode transforms WordPress debugging into a simple, secure and professional experience. Whether you're a developer, integrator or site administrator, you finally have a centralized tool for analyzing and resolving problems quickly.

With WPMasterToolKit, one activated module = one loaded feature.
Without unnecessary overload, without multiple dependencies, and always with a performance and security-oriented approach.