drupal-debugging

Diagnose Drupal errors using Devel, Drush, Twig debugging, and XDebug.

67|13|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/edutrul/drupal-ai --skill drupal-debugging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drupal-debugging
Source: https://github.com/edutrul/drupal-ai/tree/main/.claude/skills/drupal-debugging
Command: npx skills add https://github.com/edutrul/drupal-ai --skill drupal-debugging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Drupal debugging is often noisy and time-consuming. This skill provides a structured approach to investigating errors, log messages, and template issues using familiar tools like Devel, Drush, Twig debugging, and XDebug.

Core Features & Use Cases

  • Guided workflows to read watchdog logs and inspect runtime data with Drush and PHP evaluation.
  • Twig debugging setup and template troubleshooting for Drupal themes.
  • XDebug configuration and step-through debugging workflows within DDEV for local development.

Quick Start

Enable Twig debugging, start a Drush log watch, and inspect a variable in a Drupal request.

Frequently Asked Questions about drupal-debugging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug Drupal template issues using Twig?

Debug Drupal template issues by enabling Twig debugging to inspect template suggestions, identify theme overrides, and troubleshoot variable output within your Drupal themes.

What is the best way to inspect Drupal variables and runtime data with Drush?

Inspect Drupal runtime data and variables using Drush commands and PHP evaluation to read watchdog logs and analyze errors during development. This skill guides you through Drush log watches and variable inspection workflows.

How do I configure XDebug for step-through debugging in a local DDEV environment?

Configure XDebug for step-through debugging in a local DDEV environment by following guided workflows to set up step breakpoints and inspect service wiring. This enables effective local Drupal diagnostics within DDEV.

Can I use Devel to troubleshoot Drupal service wiring and log analysis?

Yes, you can use Devel to troubleshoot Drupal service wiring and perform log analysis. This skill leverages Devel patterns alongside Drush to inspect runtime data and resolve complex Drupal service errors effectively.

Why does my Drupal debugging process take so much time and have noisy logs?

Drupal debugging is often noisy and time-consuming without a structured approach. This skill provides guided workflows to investigate errors, log messages, and template issues systematically using Devel, Drush, Twig, and XDebug.