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

Advanced debugging example #1

Open
julianmrodri opened this issue Apr 21, 2021 · 3 comments
Open

Advanced debugging example #1

julianmrodri opened this issue Apr 21, 2021 · 3 comments

Comments

@julianmrodri
Copy link

Would be nice to have an example on the use of advanced debugging features provided by Hardhat.

Of course should include console.log plus other tricks and hacks you can do with Hardhat for debugging complex contracts.

@fvictorio
Copy link
Owner

Hey @julianmrodri, thanks for the suggestion. What would you like to see included besides console.sol?

@julianmrodri
Copy link
Author

Maybe bring to a concrete example the Debugging-first approach that Hardhat promotes.

Like if you look at the site "Hardhat is the best choice for Solidity debugging. You get Solidity stack traces, console.log and explicit error messages when transactions fail.".

So anything that justifies or demonstrates why its the best choice for debugging would be nice to see it in an example (not just the code but I imagine it should include like a guide as well as debugging is an interactive process? Not sure.

@fvictorio
Copy link
Owner

Oh, I see. That's a good idea, thank you!

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