Buglyst Blog
Learn to debug under pressure.
Playbooks for fast pattern recognition, guides for the full investigation, and articles for the engineering judgment around the edges.
17 playbooks · 509 guides · 95 articles · 12 linked practice labs ·skip to practice
Fast pattern recognition for the production failures engineers see most often.
0 playbooks in Debugging Craft
No playbooks found
Nothing matches “”. Try a broader term.
Structured investigations for the failure modes engineers meet in real systems.
Works locally but fails in production: how to debug it
Your code runs fine on your machine but breaks the moment it hits staging or production. Here is a structured approach to find the gap.
Feature flag bug: how to debug unexpected feature flag behaviour
A feature flag is supposed to be off for some users but is on for everyone, or vice versa. The flag value, targeting rules, or flag evaluation is wrong.
Redirect URL wrong in production: how to debug redirect bugs
Your app redirects users to `http://localhost:3000/dashboard` in production. The redirect URL is hardcoded, or the origin detection is picking up the wrong value.
Production-only bug: a systematic debugging checklist
A bug only appears in production. You cannot reproduce it locally. Here is a systematic checklist to find environment-specific failures.
Tracking Down Race Conditions in JavaScript Async Logic
Diagnose and fix tricky race conditions in JavaScript asynchronous code—beyond textbook theory. Get actionable steps, examples, and real-world guidance.
Diagnosing `ref.current` Is Null in React
A practical guide to tracing and fixing cases where a React ref's `current` is unexpectedly null, including async pitfalls and strict mode quirks.
Long-form thinking on debugging habits, observability, and the systems around the bug.
Debugging Timezone Date Bugs: A Case Study in UTC vs. Local Time
A practical walkthrough of a timestamp bug that broke a billing system, with reproducible code and debugging tactics.
Floating Point Arithmetic Errors: A Debugging Postmortem
How a $0.0000000000000004 error silently corrupted a financial system, and the debugging techniques that caught it.
Why JSON.parse() Throws and How to Catch It: A Field Guide to Parsing Failures
JSON.parse() seems simple until it throws. Here's a practical guide to the most common — and most maddening — parsing failures I've encountered, with exact error messages and fixes.
Blameless Postmortems: How We Fixed Root Causes Without Firing Anyone
A practical guide to running postmortems that focus on systemic failures, not individual mistakes. Includes a real incident breakdown from a production database outage.
Pair Debugging: How to Debug Together Without Killing Each Other
Pair debugging sounds great on paper. In practice, it's easy to step on each other's toes, go silent, or fight over the keyboard. Here's how to make it work.
Debugging with AI Tools: What Worked and What Didn't in Production
After a year of using GPT-4, Copilot, and Claude to hunt production bugs, here's what actually helped — and what sent me down dead ends.