Tweet by zebassembly

July 27, 2025

Nearly finished this Vite plugin that reimplements @nandafyi's cool debugger snapshot idea. By importing a module with a `type: "debugger-snapshots"` attribute you make it so any debugger statement under that part of the module graph will add a snapshot of the locals in scope alongside the location and time the snapshot was taken. Love this idea for illustrating how actual code works

Author
zebassembly
Date
July 27, 2025