You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new standard library, "debug," to enhance {non,low}-interactive debugging.
Developers can import debug for tools like debug.PrintStack() and debug.Breakpoint() during local development. Importantly, when used on-chain, debug will have no effect. This means it's safe to include debug.XXX commands in published contracts or create a p/debugutil module.
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: