Summary
Solidity is a new programming language that is continuously evolving. Solidity contracts can be debugged using the Remix editor. Remix provides a convenient way to author and debug contracts by verifying variables and code execution at every step. It helps us move forward and backward in code execution. It provides breakpoints to break the execution of code. There are other ways to debug contracts as well. These include using block explorers and Solidity events. Although events and block explorers provide limited capabilities for debugging, they are very helpful and facilitate production.
The next chapter will get into low-level programming in Solidity using assembly language. This will allow greater control over gas usage and access to a few features not available with the Solidity language.