Languages
[Edit]
EN

VS Code - debug with npm run

7 points
Created by:
Marcin
18610

In this short article, we would like to show you how to debug with Node.js application that starts with npm run with VS Code.

Example .vscode/launch.json config file:

{
    "version": "0.2.0",
    "configurations": [
        {
            "command": "npm run develop",
            "name": "My Backend",
            "request": "launch",
            "type": "node-terminal"
        }
    ]
}

See also

  1. VS Code - debug js file with Node.js

  2. VS Code - debug Gatsby React project in IDE on Ubuntu
Native Advertising
­čÜÇ
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

ÔŁĄ´ŞĆ­čĺ╗ ­čÖé

Join