I am using ganache and truffle to write some tests in solidity (following the example in https://www.trufflesuite.com/docs/truffle/testing/writing-tests-in-solidity).
I am getting the usual, not really helpful, message: "Error: Returned error: VM Exception while processing transaction: revert".
I have added events in my code, both in the test and in the actual contract.
Nothing is shown when the error happens.
It does not show the transaction that failed and so I cannot try to start a debug session.
With no breakpoints and no logging. How can I debug this test?
Using the console, I've verified that the contract is working as expected.