Cmd. /debug
Enable debug logging and analyze the session issue (skill).
Key takeaways
- Enable debug logging and analyze the session issue (skill).
- Check the input surface and availability before using the examples below.
Purpose
Enable debug logging and analyze the session issue (skill).
/debug [description]Availability
| Field | Value |
|---|---|
| Input surface | Running CLI prompt |
| Kind | Bundled skill |
| Status | Current reference |
| Aliases | — |
| Documented minimum | Not specified |
| Reviewed against | 2026-09-22 · Claude Code 2.1.278 |
The installed command menu and account or organization settings determine availability.
Examples
/debug Investigate the MCP connection failureEffects and persistence
Enables diagnostic logging and investigates the current session. Inspect generated logs before sharing them.
Cautions
Diagnostic logs may contain task context and paths. Inspect the bundle before sharing it.