-
Notifications
You must be signed in to change notification settings - Fork 36
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
How to trace a code snippet? #47
Comments
Thanks for pointing this out, this should have ideally worked but it didn't because the default verbosity was set to 0. Just published Without updating, the following prop can be added to the hh config. tracer: {
defaultVerbosity: 3,
}, |
Thanks for getting back so quickly. With 2.3.1 everything is traced by default, even without the |
Ah :( In the original case, i.e. with 2.3.0, |
Same issue |
One workaround for this is to run in all-traces mode (eg. |
I was picking some random
await someContract.someContractCall()
to sandwich withhre.tracer.enabled=true
/false
and trace but still not getting anything.Is it supposed to print something on console while running a test like
npx hardhat test
?I can see the tracer object is working as
console.log(hre.tracer._internal)
prints something.Feel like I'm missing something pretty basic. Would appreciate some help!
The text was updated successfully, but these errors were encountered: