Software developers make mistakes. You can avoid many of these mistakes by taking the test-driven development (TDD) approach. Nevertheless, you will still find yourself in situations where you have to manually debug an application. In this chapter, we introduce a few tools and methods to make our lives easier in this respect.
In order to debug an application, you need a tool that monitors the running of the application. With this tool, you can set breakpoints at which the application execution will stop. You can then analyze the current state of affairs. In addition, you can look into changes in the application states one step at a time.
Chrome Developer Tools
Without question, the Chrome Developer Tools are some ...