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
In this video, you will use the "Variables" panel to inspect variables available in the scope of the current line and the "Watch" panel to evaluate any JavaScript expression in your program.
Resources
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
I'll start by once again pausing execution
at the breakpoint set on line 37, by
0:00
refreshing the app in the browser on local
host for 3000, and clicking on the name.
0:01
The Variables panel shows the variables
available in the scope of
0:06
the current line.
0:11
As you can see, under Local,
we have access to the request and
0:12
response variables that are passed
into the route handler, and
0:16
the two constant variables,
original and reversed.
0:20
Currently, they're undefined.
0:23
You can also see the current
value of a variable by hovering
0:24
over their source in the editor.
0:28
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