Smart contract development is still a new field, and the development tools are still not up to par with more traditional forms of web development. However, frameworks such as Hardhat, Foundry, Brownie and Truffle provide some decent options for troubleshooting bugs...