Chapter 28Debugging Scripts

The fact is it is impossible to program without some bugs creeping in. Finding those bugs and fixing them is a critical part of any programming project. This process is called debugging. Knowing how to debug in a given programming language or tool is critical to using that language or tool.

Development environments usually include at least one powerful debugger, and sometimes a multitude of them. In fact, experienced programmers, when introduced to a new language, are concerned first and foremost about the power and the productivity factor of the debugger. The debugger is the most powerful tool an advanced computer scientist uses to find his or her bugs, and we have yet to meet a programmer who does not have bugs in ...

Get Advanced Javascript, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.