I'm trying to debug a contract. I have ganache open forking the Ethereum mainnet that uses in the settings the same host and port as my truffle-config.js (

I can migrate/deploy and test without issue as these commmands run nicely, but when I try to run truffle debug [txhash] I always get the error message

Starting Truffle Debugger...
CONNECTION ERROR: Couldn't connect to node

Any idea what's going wrong here? Thanks


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.