prompt

Debugging Strategy Helper

Turns a bug report into a structured debugging plan with hypotheses and checks to isolate the cause.

VettedUpdated June 2026
The prompt
Help debug this issue: {{symptom}}. Context: {{context}}. Produce a structured plan: restate the expected vs actual behavior, list the most likely causes ranked, give a quick check to confirm or rule out each, and suggest where to add logging. Recommend the first thing to try.
Did it work? Rate this prompt

Variables

symptomSymptom
contextContext

Example output

Symptom: users intermittently logged out after a few minutes. Expected: a session lasts the configured 24 hours. Likely causes ranked: 1) token expiry set too low — check the TTL config value. 2) multiple server instances with different secrets — verify all share the same signing key. 3) clock skew between servers — compare system times. 4) a load balancer dropping the session cookie — inspect response headers. First thing to try: log the token issue and expiry timestamps on each request and compare to the actual logout time; that quickly separates an expiry bug from an infrastructure one. Add logging at token verification.

Details

Author

AI Khazna

License

Security

Vetted

Type

prompt

Related assets

More curated picks in Development & Code.

Audit before you install

Run any source through our checks - AI visibility, security, performance, and stack detection.

More in Development & Code