prompt
Debugging Strategy Helper
Turns a bug report into a structured debugging plan with hypotheses and checks to isolate the cause.
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.
Variables
symptomSymptomcontextContextExample 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.
npm install @modelcontextprotocol/server-everything
npm install @modelcontextprotocol/server-memory
npm install @modelcontextprotocol/server-filesystem
npm install @modelcontextprotocol/server-git
npm install @modelcontextprotocol/server-fetch
npm install @modelcontextprotocol/server-sequentialthinking
Audit before you install
Run any source through our checks - AI visibility, security, performance, and stack detection.
Automated Web Security Scan
security
PageSpeed Analyzer
performance
AI Content Quality Test
arabic content
AI Agent / MCP Server Tester
ai testing
Site Stack Detector
migration
AI SEO / AEO / GEO Audit
ai visibility
llms.txt Generator
ai visibility
Readability Score
arabic content
Schema / JSON-LD Builder
ai visibility
AI Cost Calculator
ai testing
Headline Analyzer
arabic content