Hour 9. Debugging Node.js Applications

What You’ll Learn in This Hour:

• What debugging is

• Debugging using the STDIO module

• Debugging with Node.js’s debugger

• Debugging with Node Inspector

Debugging

Before too long in software development, you will hit something developers learn to deal with every day: bugs. A bug in software is an error or issue that causes unexpected behavior in an application. Some examples of bugs include

• An error caused by a syntax error in source code

• A feature that does not behave as expected

• A poorly performing piece of code that makes an application run slowly

• A security vulnerability

Bugs can be found by developers or reported by the users of an application. Either way, the responsibility for investigating ...

Get Sams Teach Yourself Node.js in 24 Hours 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.