What If You Could Replay Production Bugs Locally?

Published: (March 23, 2026 at 11:37 AM EDT)
2 min read
Source: Dev.to

Source: Dev.to

The Problem

Debugging production bugs is still guesswork. You look at logs and hope the bug shows up again.

  • Logs don’t show the full picture.
  • Most of the time, you’re not fixing the bug.

What If You Could Replay Production Failures Locally?

Instead of guessing, you could:

  • Take the exact production request
  • No mocks required

Introducing Flux

Flux records real API executions and lets you replay failures locally.

Capture the Failure

flux tail

Shows the exact request that failed in production.

Understand What Went Wrong

flux why

Provides the full context of the failure.

Replay Locally

flux replay

Runs the exact same execution on your machine.

Fix and Resume

flux resume

Apply your fix and continue execution safely.

Why This Matters

Debugging shouldn’t be “add logs and hope.” It should be deterministic: same request, same I/O, same outcome.

This Is Just the Beginning

Flux is still early, but the idea is simple: make backend debugging reproducible, safe, and predictable.

Launch 🚀

I just launched this on Product Hunt today. If this resonates with you, I’d really appreciate your feedback:

  • [Product Hunt]
  • [Website]
  • [GitHub]

Would Love to Hear From You

  • How do you currently debug production issues?
0 views
Back to Blog

Related posts

Read more »