plugin-icon

Debug Log Manager Tool

Read, search, and clear WordPress debug logs from wp-admin. Toggle WP_DEBUG and inspect errors without FTP.
Évaluations
5
Version
3.0.6
Installations actives
3K
Mis à jour récemment
May 30, 2026
Debug Log Manager Tool

Debug Log Manager Tool is a debug log viewer and WP_DEBUG manager for WordPress. Read, search, group, and clear wp-content/debug.log from inside wp-admin; toggle WP_DEBUG, WP_DEBUG_LOG, WP_DEBUG_DISPLAY, SCRIPT_DEBUG, and SAVEQUERIES from explicit UI controls instead of editing wp-config.php; capture the last fatal error during shutdown; and review slow database queries with their stack trace. Useful as a lightweight alternative to Query Monitor or Debug Bar when you mainly need a clean debug.log reader and explicit debug-constant control.

The plugin focuses on safe first-run behavior: activation does not automatically turn debug mode on, deactivation does not automatically turn it off, and existing debug constants or custom log paths are preserved until you choose to change them.

Use it to inspect the current debug log, search and group log entries, copy useful error details, and make explicit debug configuration changes from the WordPress admin when needed. Advanced tools such as terminal commands, database inspection, Safe Mode, and notifications are available as optional helpers.

Quick Demo

Key Features

  • Safe First Run: Activating the plugin does not automatically change WP_DEBUG, WP_DEBUG_LOG, WP_DEBUG_DISPLAY, SCRIPT_DEBUG, SAVEQUERIES, or existing log paths.
  • Explicit Debug Controls: Review current debug constant values and update them only through intentional UI actions.
  • Modern Debug Log Viewer: View, search, filter, group, copy, and clear debug log entries from a compact WordPress admin interface.
  • Readable Timeline Rows: Scan log entries with severity labels, occurrence counts, plugin/source hints, exact timestamps, and copy-as-JSON actions.
  • Stack Trace Analysis: Format PHP stack traces and database call chains so long fatal errors are easier to read.
  • Last Fatal Snapshot: Capture the latest fatal error during shutdown and show it in the log screen when wp-admin is available again.
  • Large Log File Preview: Open the current debug log file inside a modal and safely read the latest 1 MB of large files.
  • Smooth Upgrade Behavior: Upgrades preserve existing constants and custom debug log locations instead of replacing your current configuration.
  • Query Inspector: Optionally examine database queries when SAVEQUERIES is enabled, including SQL, caller, execution time, and stack trace details.
  • WP-CLI Style Terminal: Optionally run guarded WordPress-style commands directly from the browser with command history and auto-completion.
  • Terminal Settings: Enable or disable terminal access and database commands from a dedicated settings screen.
  • Safe Mode: Optionally isolate plugin conflicts by keeping selected plugins active and restoring the previous state when Safe Mode is turned off.
  • Email Notifications: Optionally configure notification email settings, daily summaries, and test email delivery for debug activity.
  • Admin Bar Debug Toggle: Quickly review and change WP_DEBUG from the WordPress admin bar when you explicitly choose to.
  • Dashboard Widget: See recent debug log activity from the WordPress dashboard.
  • Custom Log Path Support: Keep existing custom log paths and use filters to customize the debug log location.
  • Hardened Admin Routes: AJAX actions use nonce and capability checks, with guarded file path handling for debug log access.

Debug Constants Available

These constants can be reviewed and changed from the plugin UI. The plugin does not change them on activation or deactivation.

  • WP_DEBUG – Enables WordPress debug mode
  • WP_DEBUG_LOG – Saves errors to the configured debug log destination
  • SCRIPT_DEBUG – Uses development versions of core JS and CSS files
  • WP_DEBUG_DISPLAY – Controls whether debug messages display on screen
  • SAVEQUERIES – Saves database queries for analysis

Developer Tools

  • Terminal Commands: Optionally use WP-CLI style commands like wp core version or wp plugin list
  • Database Explorer: Optionally run SELECT queries and view results in a formatted table
  • Stack Trace Analysis: Visualize error stack traces for easier debugging
  • Hook Inspector: View all registered hooks and their callbacks
  • Environment Detection: Development features are automatically hidden in production
  • Copy JSON: Copy structured log entries for support tickets or developer handoff
  • File Viewer: Inspect the debug log file without leaving the WordPress admin screen

Developer API: Use filters like wp_dlct_log_file_path and dlct_debug_file_path to customize log path behavior.

Please note: Configuration changes are made only by explicit UI actions. Deactivating the plugin does not automatically restore, remove, enable, or disable WordPress debug constants.

Gratuitsur les plans payants
En procédant à l’installation, vous acceptez les Conditions d’utilisation de WordPress.com ainsi que les Conditions de l’extension tierce.
Testé jusqu’à version
WordPress 7.0
Cette extension est disponible en téléchargement pour votre site .