/debug
A Claude Code slash command, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
What it is
[Skill](/docs/en/skills#bundled-skills). Enable debug logging for the current session and troubleshoot issues by reading the session debug log. Debug logging is off by default unless you started with claude --debug, so running /debug mid-session starts capturing logs from that point forward. Optionally describe the issue to focus the analysis
Anthropic's own wording. Read off Commands, captured 2026-08-28.
Presence across releases
The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Changelog entries naming it
-
v2.1.232Session logs get a place in the managed storage layer
Session transcripts can be addressed through managed storage by project and date, and /debug reads them that way.
named in this entry
Documentation pages
- Commands reference table Claude Code CLI
- Authentication mentions it Claude Code CLI
- Channels reference mentions it Claude Code CLI
- Checkpointing mentions it Claude Code CLI
- Explore the .claude directory mentions it Claude Code CLI
- Debug your configuration mentions it Claude Code CLI
- Environment variables mentions it Claude Code CLI
- Extend Claude Code mentions it Claude Code CLI
- Glossary mentions it Claude Code CLI
- Automate actions with hooks mentions it Claude Code CLI
- Interactive mode mentions it Claude Code CLI
- Connect Claude Code to an LLM gateway mentions it Claude Code CLI
- Deploy managed settings mentions it Claude Code CLI
A reference table page is one whose own table defines this name, and it is where the description above came from. A page that mentions it carries the name somewhere in its text and may say nothing about it at all. Every page carrying it.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the slash command does. All slash commands.