-
Notifications
You must be signed in to change notification settings - Fork 0
drupal debug
Diagnose recent errors in the Drupal project — watchdog entries, PHP errors, configuration problems, and container health.
/drupal-debug
Shows the last 20 error and critical-level watchdog entries. Filters for actionable messages (skips routine info/notice entries).
Reads the PHP-FPM error log from the container for fatal errors, warnings, and deprecation notices that bypass watchdog.
Checks for pending configuration imports or exports:
drush config:statusReports any configuration that is out of sync between the active store and the sync directory.
Checks all stack containers are running and reports any that are stopped, restarting, or in an error state.
Checks sites/default/files/ and private/ (if configured) for common permission problems that cause upload or cache write failures.
The agent analyses the combined output and provides a prioritised list of issues with suggested fixes. For each issue it will either:
- Run a fix directly (e.g.
drush crfor cache issues) - Explain the cause and next steps
- Ask for more context if the error is ambiguous
- Use
/drupal-debugas a first step when the site is broken or behaving unexpectedly. - For ongoing log monitoring use
/drupal-logsinstead.
- drupal-logs — watchdog log viewer with filters
- drupal-status — full project status report
- drupal-cr — rebuild caches (often fixes config-related errors)