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

Enable ink-debug feature for enabling debug messages #284

Closed
ascjones opened this issue May 27, 2021 · 0 comments · Fixed by #298
Closed

Enable ink-debug feature for enabling debug messages #284

ascjones opened this issue May 27, 2021 · 0 comments · Fixed by #298

Comments

@ascjones
Copy link
Collaborator

In use-ink/ink#792 we introduce the ink-debug feature, which needs to be enabled in order for debug_print! messages to be sent to the supervisor and printed to the console/sent back to the calling client.

So we should allow the enabling/disabling of this feature by introducing the --debug and --release builds or some other way to control it. It may not assume that the contract has that feature added to its Cargo.toml, so could add as necessary during the build.

Perhaps in addition we should allow manual control of features passed to the underlying build command in case the user wants full control.

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

Successfully merging a pull request may close this issue.

1 participant