Debug an error prompt
Structured debugging from an error message and context. Fill in the blanks; anything left empty uses the example value shown.
environmenterror messageactiontried
I am getting this error in Python 3.12 with Django 5: """ paste the full error and stack trace """ What I was doing: running migrations after adding a new field. What I already tried: deleting the migration and regenerating it. List the 3 most likely causes, most likely first. For each: how to confirm it, and the fix.
Tips
- Always include what you tried; it saves a round of obvious suggestions.
Want to go further? Paste the result into the prompt optimizer.
More code templates
- Code review · A senior-engineer review with prioritised, concrete fixes.
- Custom GPT instructions · System instructions for a focused custom GPT or Claude Project.