The Prompt
Help debug the following issue in [language/framework]: Issue details: - Error message: [paste exact error] - Language/Framework: [language and version] - When it occurs: [always/intermittent/specific conditions] - Recent changes: [what changed before bug appeared] - Environment: [local/staging/production] - Stack trace: [paste if available] Debugging approach: 1. UNDERSTAND THE ERROR - What does the error message mean? - What type of error is this? - Is this a known issue? 2. REPRODUCE THE ISSUE - Minimal reproduction steps - Isolate the problem - Identify conditions that trigger it 3. HYPOTHESES - List 3-5 possible causes - Most likely cause based on error 4. DEBUGGING STEPS - Step by step investigation plan - What to check first - Tools to use - Log statements to add 5. COMMON CAUSES FOR THIS ERROR - Known causes in [language/framework] - Similar issues and solutions 6. SOLUTION OPTIONS - Quick fix if available - Proper fix recommendation - Prevention for future 7. VERIFICATION - How to confirm fix works - Tests to add Be specific to the technology stack mentioned
Copied 1 times
How to Use This Prompt
- Click Copy Prompt above
- Open ChatGPT or Claude
- Paste the prompt and replace anything in [brackets] with your own details
- Press Enter and get your result instantly
Pro Tip
The more specific you are when replacing the [brackets], the better your result. For example instead of writing [Job Title] write "Senior Software Engineer with 5 years experience" — specificity is what separates a good AI response from a great one.
This prompt works best with ChatGPT . If you are not happy with the first result, try adding "make it more concise" or "give me 3 alternative versions" as a follow-up message.