Chapter 8. Debugging and Profiling
Debugging is a tricky part of programming. Bugs during development are unavoidable. Whatever our experience, we have to spend quite a time on hunting them. It happens. By the looks of the code you may not find the bug, there probably must be no problem with the application, yet a developer fights for hours until they run into a silly reason such as a misprinted property name. Much of this time could be saved by making a better use of browser development tools. So we will consider in this chapter the following topics:
How to discover bugs
Getting the best from a console API
How to tune performance