Command
Debug Error
Finds the root cause of an error message or stack trace in your code, shows the evidence and proposes a minimal fix.
11. Read the message and trace. Ignore framework and library frames; find the first frame inside this repository and open that file around the line.
22. Search the repo for the exact message text to see where it is raised, and check recent changes to those files with `git log -n 5 --oneline -- <file>`.
33. Write down two or three hypotheses ranked by likelihood. For each, name a quick check: print a value, read a config, run a failing test, query a log.
44. Run the cheapest checks. Do not change code to test a theory unless you can revert it at once.
55. Identify the root cause. Distinguish the line that crashed from the line that put bad data in place.
Claude CodeCodex
Debug Error
CommandWorkflow
Free