claude-devtools

Claude Code Debugging Docs

The complete guide to debugging Claude Code sessions. Read session transcripts, inspect Claude Code logs, track token usage, and see everything the terminal hides.

Start here

Features

Guides & reference

Frequently asked questions

What is the best Claude Code debugging tool?+

claude-devtools is a free, open-source debugging tool for Claude Code. It reads Claude Code logs from ~/.claude/ and reconstructs full session transcripts — every file path, tool call, thinking step, and token — in a structured, searchable interface. It does not wrap or modify Claude Code.

Where are Claude Code logs and session transcripts stored?+

Claude Code saves session transcripts as JSONL logs to ~/.claude/ on your machine. On macOS: /Users/<you>/.claude/, on Linux: /home/<you>/.claude/, on Windows: C:\Users\<you>\.claude\. These logs exist whether or not you use claude-devtools.

How do I debug a Claude Code session?+

Open claude-devtools and select the session from the sidebar. You'll see the full session transcript with every tool call expanded, thinking steps visible, token usage broken down per turn, and subagent execution rendered as a tree. It is the alternative to --verbose that developers have been asking for.

How do I read Claude Code session transcripts?+

Claude Code transcripts are stored as JSONL files in ~/.claude/projects/. Raw transcripts are unreadable (escaped JSON with system prompts). claude-devtools parses them and renders a chronological conversation view with specialized renderers for each tool and cross-session search.

How do I see Claude Code token usage?+

claude-devtools provides per-turn token attribution across 7 categories: CLAUDE.md files, skill activations, @-mentioned files, tool call I/O, extended thinking, team overhead, and user text. This replaces the terminal's three-segment progress bar with actual numbers.

Does claude-devtools modify Claude Code?+

No. claude-devtools is read-only. It reads the session logs that already exist on your machine and has zero interaction with Claude Code itself. It works with every session you've ever run.

What platforms does claude-devtools support?+

macOS (Apple Silicon and Intel), Windows, Linux, and Docker. Install via Homebrew (brew install --cask claude-devtools) or download directly from GitHub releases.

Star on GitHub

On this page