跳到主要内容

1 篇文档带有标签「AntelopeIO/cdt/tree/v3.0.1/docs/07_best-practices/11_debugging_a_smart_contract.md」

查看所有标签

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.