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

feat: show contract-node's node logs for debugging purposes #291

Open
brunopgalvao opened this issue Aug 22, 2024 · 0 comments
Open

feat: show contract-node's node logs for debugging purposes #291

brunopgalvao opened this issue Aug 22, 2024 · 0 comments
Labels
contracts Features related to smart contracts enhancement New feature or request good first issue Good for newcomers

Comments

@brunopgalvao
Copy link
Collaborator

It is often the case that when I am debugging ink! smart contracts, I use ink::env::debug_println! which shows up in the contract-node's node logs. Currently Pop CLI does not offer a way to see my node logs which is a deal-breaker for ink! smart contract development.

Ask: Need a way to access to contract-node’s node logs for debugging.

Also, please make sure that when contract node is spun up with the debug flags:
e.g. substrate-contracts-node -lerror,runtime::contracts=debug

Looking at node logs is also useful for debugging certain types of errors.

@brunopgalvao brunopgalvao added contracts Features related to smart contracts enhancement New feature or request labels Aug 22, 2024
@AlexD10S AlexD10S added the good first issue Good for newcomers label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contracts Features related to smart contracts enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants