-
Notifications
You must be signed in to change notification settings - Fork 362
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
Add "debug" stdlib #1266
Comments
This was referenced Nov 2, 2023
Closed
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add a new standard library, "debug," to enhance {non,low}-interactive debugging.
Developers can import
debug
for tools likedebug.PrintStack()
anddebug.Breakpoint()
during local development. Importantly, when used on-chain,debug
will have no effect. This means it's safe to includedebug.XXX
commands in published contracts or create ap/debugutil
module.Related with #999, #1226
cc @thehowl @mvertes
The text was updated successfully, but these errors were encountered: