HeadlinesBriefing favicon HeadlinesBriefing.com

Time-Travel Debugger Solves "Works on My Machine"

DEV Community •
×

A developer built Timetracer after wasting hours debugging production checkout bugs that couldn't be reproduced locally. The tool records every external API call, database query, and cache operation into a JSON 'cassette' for later replay.

Unlike VCR.py which only captures HTTP calls, Timetracer handles full-stack interactions including databases and Redis. Developers can replay exact production scenarios on their laptops without needing real credentials or network access.

The tool supports FastAPI and Flask with minimal setup. A local dashboard lets teams browse, filter, and replay recorded requests. Built-in PII redaction masks sensitive data like credit cards and API keys automatically.

Future updates may include async database support and GraphQL parsing. Companies struggling with unreliable staging environments could see major efficiency gains from adopting this kind of deterministic debugging.