C4D Practice
← Browse by Chapter
#107Chapter 20 — Debugging with Claude Code
The reproduction is [command]. List the causes that could produce this failure, most likely first. For each, give the evidence for and against it from the code and from the output, and the cheapest check that would confirm it or rule it out. Quote every log line you rely on with its file and line number, and every output with the command that produced it. Mark `[VERIFY]` on any statement about the code or the logs that is neither a quote nor an output. Then run the checks one at a time and stop at the first cause a check confirms. Do not restart, flush, reseed or delete anything to run a check; if a check needs that, ask me first. Do not fix anything yet.
Mastering Claude Code
Mastering Claude Code

These prompts are excerpts from the book. Get the full collection with explanations and use cases.

Get the Book →