Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime option to disable debug #20

Open
winny- opened this issue May 7, 2019 · 3 comments
Open

Runtime option to disable debug #20

winny- opened this issue May 7, 2019 · 3 comments

Comments

@winny-
Copy link

winny- commented May 7, 2019

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. ;-)

@AlexKnauth
Copy link
Owner

So #lang debug/no-output isn't good enough because it's determined at compile time on a per-file basis?

@winny-
Copy link
Author

winny- commented May 10, 2019

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.

@winny-
Copy link
Author

winny- commented May 10, 2019

So #lang debug/no-output isn'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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants