Display recent entries from the debug log file.
View recent debug log entries to troubleshoot Claude Code behavior and monitor tool executions. Use when investigating issues or understanding what actions Claude is taking.
/plugin marketplace add betamatt/claude-plugins/plugin install claude-debugger@betamatt-claude-pluginsDisplay recent entries from the debug log file.
/debugger:view [lines] [--type=TYPE]
/debugger:view # Show last 20 entries
/debugger:view 50 # Show last 50 entries
/debugger:view --type=AGENT # Show last 20 agent events
/debugger:view 10 --type=TOOL # Show last 10 tool events
.claude/debug.log existsgrep to filter by typetail to get the requested number of linesDisplay each log entry in a readable format:
2024-01-15T14:32:05Z [TOOL] Read → /src/app.ts
2024-01-15T14:32:06Z [TOOL] Edit → /src/app.ts
2024-01-15T14:32:07Z [AGENT] code-search → completed
2024-01-15T14:32:10Z [SKILL] rails-conventions → loaded
.claude/debug.loggrep '"type":"AGENT"'tail -n $LINES