AI Workshop: learn to build apps with AI →
Debugging
Debug Node.js apps with DevTools, handle exceptions, and fix common errors.

Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.


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