NodeJS

Debugging Node

new

NodeJS Course

Introduction

Up until this point, you may have only relied on the browser’s DevTools to debug your code. When it comes to debugging Node and server side code, VS Code has a handy built-in debugger that you can use to debug directly in your editor! Hopefully you’ll have also made use of this at some points earlier in the curriculum already, but ultimately, this lesson will familiarize you with the VS Code Node debugger, which is a critical tool at this point in your learning, and will likely be a key tool you use daily in your professional life.

Lesson overview

This section contains a general overview of topics that you will learn in this lesson.

  • Use the VS Code built-in Node debugger.

Assignment

  1. Watch this video tutorial about Node.js debugging in VS Code to see the process in action.
  2. Check out the official VS Code Node debugger documentation. Take note of the JavaScript Debug Terminal- this is an easy way to get the debugger running!

Knowledge check

The following questions are an opportunity to reflect on key topics in this lesson. If you can’t answer a question, click on it to review the material, but keep in mind you are not expected to memorize or master this knowledge.

Additional resources

This section contains helpful links to related content. It isn’t required, so consider it supplemental.

  • It looks like this lesson doesn’t have any additional resources yet. Help us expand this section by contributing to our curriculum.

Support us!

The Odin Project is funded by the community. Join us in empowering learners around the globe by supporting The Odin Project!