For some reason I have lost the ability to run my test cases in debug mode in Visual Code. If anyone has any ideas about why this might be I am all ears …
Is there a way to run concordium tests such that they output print statements so I can track what is happening and debug my issues?
cargo test does work, but it tests the contract when compiled to native code.
On the chain the contract runs compiled to Wasm. cargo concordium test runs the contract using the same execution engine as on the chain.
In particular this matters because Wasm is 32 bit platform (at least the variant we use on the chain). So there might be issues that only come up there.