Debugging
Debug Node.js apps with DevTools, handle exceptions, and fix common errors.

Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026

The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.


Debugging is an essential skill for any Node.js developer. When things go wrong, you need to know how to find and fix the problem quickly.

In this section you’ll learn debugging techniques, how to use DevTools with Node.js, and solutions for common errors.

Lessons in this unit:

0: ▶︎ Introduction
1: Fix Node.js imports types errors in VS Code
2: referenceerror: window is not defined, how to solve
3: Use the Chrome DevTools to debug a Node.js app
4: Error handling in Node.js
5: How to solve the `util.pump is not a function` error in Node.js