I'm developing a contract that relies on some states of other contracts currently deployed on mainnet. I'm after a way to test and debug my contract without having to deploy to mainnet first.

I'm currently using Remix with ganache --fork, which allows me to test my contract using a copy of the mainnet but I'm unable to debug any errors using this setup (Remix tells me debugging is only available in their Javascript VM, not using an external Web3 Provider).

What can I do here?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.