MagicPluginsMagicDash Docs
MagicAssistant

Debug Manager

Debug WordPress errors even when your site crashes

Debug Manager

Debug WordPress issues with AI assistance. View error logs, see code context, and get fix suggestions — even when your site has crashed.

Works When WordPress Doesn't

The Debug Manager runs independently of WordPress. If your site has a fatal error, you can still access it at:

your-site.com/wp-content/plugins/magicassistant/debug/

View Error Logs

Parse all your error logs in one place:

  • WordPress debug.log — WordPress errors
  • PHP error logs — Server-side issues
  • Plugin logs — Individual plugin errors

Filter by severity (Fatal, Error, Warning, Notice) and search for specific issues.

AI-Assisted Debugging

Click any error to get AI help:

"Explain this error and suggest a fix"

The AI sees:

  • The full error message
  • The code around the error
  • Your WordPress context

Code Context

Click an error to see:

  • The exact line that caused it
  • Surrounding code for context
  • Syntax highlighting

Edit Files Directly

With editing enabled, fix issues right from Debug Manager:

  1. Click an error
  2. Edit the problematic code
  3. Save with automatic backup

Always backup before editing. Enable this feature only when needed.

Enable Debug Mode

To capture errors, add to wp-config.php:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);