O'Reilly logo

AngularJS by Robin Böhm, Philipp Tarasiewicz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6

Debugging

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required