Table of Contents

VsCode - Debugger (Launch.json)

About

Debugger in VsCode.

launch.json is the configuration file to launch/or attach a debugger session

Management

Location

launch.json file under the workspace's .vscode folder

Request

VS Code debuggers typically support:

The only difference between “launch” and “attach” is that “launch” first guesses where chrome is, and starts it at your location. Then attaches to it, and everything is the same after that.

Node

With the --inspect-brk option, Node.js stops on the first line of the program.

Breakpoint

Unverified

If no source map exists for the original source or if the source map is broken and cannot successfully map between the source and the generated JavaScript, then breakpoints show up as unverified (gray hollow circles).

Support