Debug an Error Message Step-by-Step
Get a structured debugging plan: error explanation, ranked root causes, tests, and fixes.
§ The Prompt— ready to copy
debug-error-message.prompt
I'm hitting this error in my [LANGUAGE/FRAMEWORK] code. Walk me through debugging. (1) Explain what the error message means in plain English. (2) List the 3 most likely root causes ranked by probability. (3) For each cause, give me a specific test or check I can run to confirm it. (4) Once we know the cause, suggest the fix. ERROR: [PASTE ERROR] RELEVANT CODE: [PASTE CODE]
Replace anything in [BRACKETS] with your specifics before sending.
Best For — Roles
Use For — Tasks
§ Related Entries
You may also need
№ 097coding
Explain and Write a Regex From Plain English
Translate a plain-English matching requirement into a regex with line-by-line breakdown and edge cases.
For
claude·chatgpt
№ 025coding
Build and Explain a Regular Expression
Get a working regex with a plain-English breakdown and a set of passing/failing test cases.
For
claude·chatgpt
№ 096coding
Generate a Production-Ready Dockerfile and Explain Each Line
Generate a hardened, multi-stage Dockerfile with line-by-line comments and matching .dockerignore.
For
claude·chatgpt
№ 006coding
Explain Complex Code in Simple Terms
Turn confusing code into a clear, junior-friendly explanation with edge-case notes.
For
claude·chatgpt