Skip to main content

One doc tagged with "AntelopeIO/cdt/tree/v3.0.1/docs/07_best-practices/11_debugging_a_smart_contract.md"

View All Tags

Debugging a smart contract

In order to be able to debug your smart contract, you will need to setup a local nodeos node. This local nodeos node can be run as separate private testnet or as an extension of a public testnet. This local node also needs to be run with the contracts-console option on, either --contracts-console via the command line or contracts-console = true via the config.ini and/or by setting up logging on your running nodeos node and checking the output logs. See below for details on logging.