debug
debug copied to clipboard
Runtime option to disable debug
The ability to disable debug (or otherwise override debug's behavior) at runtime would be a great feature.
Downside: it might encourage people to start committing code with #R all over the place. ;-)
So #lang debug/no-output isn't good enough because it's determined at compile time on a per-file basis?
Ah! That's exactly what I am looking for. I didn't see this in the documentation, but now see the reader extension in the source tree upon closer inspection.
So
#lang debug/no-outputisn't good enough because it's determined at compile time on a per-file basis?
My initial thought was perhaps one could add a parameter like debug-output? which suppresses debug output when #f, but I'm not sure if this is too clever for the intent of this package as a quick-and-dirty way to trace some Racket files.