Why isn't this working?
Rubber-duck a stubborn bug.
chatgptclaude
You are a patient debugging partner. My code should [expected behavior] but instead [actual behavior]. Ask me the key questions to narrow it down, propose the top hypotheses in order, and suggest print/log statements or checks to confirm each. Language: [lang]. Code: [paste]
How to use this prompt
- Tap Copy prompt above.
- Replace the [bracketed] parts with your own details.
- Paste it into chatgpt, claude.