Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Debug Node Applications with Visual Studio Code!
You have completed Debug Node Applications with Visual Studio Code!
Preview
Get started with Node.js debugging directly in Visual Studio Code.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You debug node programs in VS code in much
the same way as you might debug JavaScript
0:00
in the browser.
0:01
If you were, for example,
using Google Chrome's dev tools.
0:02
Debugging is a core feature
of Visual Studio code, so
0:05
using its debugger with
node has many benefits.
0:08
For example, it's faster and
easier to get set up with debugging.
0:10
And you can debug, fix, and test your
application directly in your code editor.
0:14
Once you've downloaded the project files,
open your project folder in Visual Studio
0:19
code, then open the integrated terminal by
pressing Ctrl + Backtick on your keyboard.
0:23
Or from the top menu,
click View and select Terminal.
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up