I built Rewind: A zero-dependency TIME-TRAVEL DEBUGGER with live in-browser hot-patching
说明与用途
Rewind 是一个通用的时间旅行调试器,帮助开发者在 Python、Node.js、Go 等多种语言环境中快速定位并修复错误,无需外部依赖。
问题
Debugging modern applications is painful due to reliance on console logs or forward stepping, which can miss the exact mutation causing a crash.
结果
Rewind enables developers to quickly identify and fix bugs across multiple runtimes without adding dependencies or slowing execution.
工作流
- 1. Install Rewind via pip or clone the repo
- 2. Run a script or command with
rewind run script.pyorrewind exec "node server.js" - 3. When execution ends or an exception occurs, Rewind launches a local cockpit at http://localhost:8765
- 4. Use the timeline scrubber to navigate to the problematic state
- 5. Inspect variable mutations and state diffs
- 6. Edit code in the browser sandbox and replay to verify the fix
- 7. Apply the patch to disk if desired
证据
Rewind was designed with three foundational principles: Universal Multi-Runtime Tracing, Sub-Microsecond Circular State Diffing, and In-Browser Time Scrubber & Live Hot-Patching.
Rewind launches a local interactive cockpit at http://localhost:8765 when execution finishes or hits an unhandled exception.
- 记录日期: 2026-09-13T10:45:23.584Z