Visual Studio Code - Node.js app

> Integrated development environment (ide) > Visual Studio Code (VsCode)

1 - About

Node.js app development in VsCode

Visual Studio Code support natively Node.js app.

3 - Debug

Example of Launch.json file to debug an Node script

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "Launch Program",
            "program": "${workspaceRoot}/app.js"
        }
    ]
}

where app.js is a node.js app. Example:

app.js
var name = "nicolas";
console.log(name)
Advertising

4 - Documentation / Reference

ide/vscode/node.txt · Last modified: 2019/02/16 17:40 by gerardnico