Systematic Debugging
Structured debugging prompt with ranked causes, confirmation steps, and fixes — avoids circular suggestions.
debuggingdevelopmentchatgpt
Prompt
I'm debugging a {{language}} issue in a {{framework}} app. **Symptom:** {{describe what happens}} **Expected:** {{describe expected}} **Environment:** {{environment}} **Error message (if any):** ``` {{error}} ``` **Relevant code:** ``` {{code}} ``` **What I've tried:** - {{attempt 1}} - {{attempt 2}} Walk me through debugging this systematically: 1. What are the most likely root causes? (ranked by probability) 2. How to confirm which cause it is (specific commands or logs to check) 3. The fix for each possible cause
Variables to customize
{{language}}{{framework}}{{describe what happens}}{{describe expected}}{{environment}}{{error}}{{code}}{{attempt 1}}{{attempt 2}}
Why this prompt works
The ranked probability approach prevents ChatGPT from going down rabbit holes. Including what you've tried avoids circular suggestions.
Save this prompt to your library
Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.
Related prompts
Code Review Assistant
Get thorough code reviews with actionable feedback tailored to your language, framework, and standards.
Code Review with Specific CriteriaGet focused code review feedback with numbered criteria that works on both ChatGPT and Claude.
Explain Complex CodeGet a clear, leveled explanation of any code snippet — calibrated to your experience level.
Debug with ContextSystematic debugging prompt that includes context, error details, and what you've already tried.