VS Code - Debugging

Visual Studio Code · 568K views · 2017 · 6:10

Open on YouTube

Testing, debugging & developer toolsWeb developmenttutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it as the official intro to VS Code debugging, either to newcomers who need the basics or when asking why their setup does not match what the video shows.

Recommended by 1 people across 1 different months, 2017 to 2022.

What it is

A short official walkthrough from the VS Code team showing how to debug a Node.js app in the editor. It covers the basics of the debugger: setting breakpoints, launching a session and stepping through code. It is presented by the Visual Studio Code channel.

What people said

Recommends David Tejuosho · 2022-03 · Stack Overflow · on “How do I skip libraries when debugging java code in VS code”

Do what @Stultuske or just press the step over button instead of the step into. Maybe you could benefit from a debugging video? Here's one from VS Code themselves: [this video]

Cites Ichi · 2017-08 · Stack Overflow · on “VS Code - ReferenceError: $ is not defined WHY?”

I am working on udacity design patters course. There are giving materials and I have implemented some onto it then tried to debugging. However it gives me the error saying I have no linked to jQuery even though it had been defined as <script src=" [LINK] "></script> <script src="js/retain.js"></script> on separate index.html file Because the files were provided by the course, it should be written correctly. So I must do something beforehand... I am new to JS code, searched & going through many videos but still have no ideas: (I have set config.json (as asked on introduction video [this video] ). I would be appreciated if anyone can help in anyway! (or anyone can direct me to good tutorials of deb

Cites laike9m · 2020-05 · Stack Overflow · on “Can't debug in VS Code”

I'm new to VS Code, and is following the official tutorial [this video] to learn how to debug. However, it just won't work. First, the UI looks different. It shows "RUN" . [LINK] Compared to what the UI looks like in the video, which shows "DEBUG" . [LINK] Also, I added a breakpoint and hit the green start button, it just never stops . Here's the launch.json file: [LINK] What should I do to make the debugger work?