debug exposes a function; simply pass this function the name of your module, and it will return a decorated version of console.error for you to pass debug statements ...
When you run the program, it first parses your code using ASTs and injects checkpointing functions. Then it injects runtime code, and a TUI appears for you to interact with. When you set a checkpoint, ...