{"name":"\/debug","slug":"debug","family":"slash","title":"Slash commands","noun":"slash command","description":"**[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","description_source":"docs","described_by":{"doc":"claude-code\/commands","title":"Commands"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.308","builds":0,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.232","anchor":"session-logs-get-a-place-in-the-managed-storage-layer","heading":"Session logs get a place in the managed storage layer","line":"Session transcripts can be addressed through managed storage by project and date, and \/debug reads them that way.","released_at":"2026-08-13 21:30:53","reason":"named in this entry, found in this entry's text"},{"version":"2.1.179","anchor":"claude-code-otel-diag-stderr-environment-variable","heading":"CLAUDE_CODE_OTEL_DIAG_STDERR Environment Variable","line":null,"released_at":"2026-06-16 17:51:27","reason":"found in this entry's text"},{"version":"2.1.71","anchor":"debug-skill-improvements","heading":"Debug Skill Improvements","line":null,"released_at":"2026-03-06 22:47:03","reason":"found in this entry's text"},{"version":"2.1.30","anchor":"debug-skill","heading":"\/debug Skill","line":null,"released_at":"2026-02-03 16:34:38","reason":"found in this entry's text"},{"version":"2.0.10","anchor":"debug-log-symlink-management","heading":"Debug Log Symlink Management","line":null,"released_at":"2025-10-07 19:53:56","reason":"found in this entry's text"}],"entries_total":5,"docs":[{"source":"claude-code","path":"commands","title":"Commands","documented":true},{"source":"claude-code","path":"channels-reference","title":"Channels reference","documented":false},{"source":"claude-code","path":"checkpointing","title":"Checkpointing","documented":false},{"source":"claude-code","path":"claude-directory","title":"Explore the .claude directory","documented":false},{"source":"claude-code","path":"debug-your-config","title":"Debug your configuration","documented":false},{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":false},{"source":"claude-code","path":"errors","title":"Error reference","documented":false},{"source":"claude-code","path":"features-overview","title":"Extend Claude Code","documented":false},{"source":"claude-code","path":"glossary","title":"Glossary","documented":false},{"source":"claude-code","path":"hooks","title":"Hooks reference","documented":false}],"docs_total":13,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/slash\/debug","family_url":"https:\/\/changelogs.core-directive.com\/reference\/slash.json"}