Create .vscode/launch.json
It defines the possible debug targets available in Visual Studio Code (-based) editors, as specified here: https://code.visualstudio.com/docs/nodejs/nodejs-debugging The specified configuration allows the debugging of the webpack development server launched with `npm run start`.
This commit is contained in:
parent
30fffeaf4c
commit
48790db447
1 changed files with 17 additions and 0 deletions
17
.vscode/launch.json
vendored
Normal file
17
.vscode/launch.json
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"type": "node",
|
||||||
|
"name": "start",
|
||||||
|
"request": "launch",
|
||||||
|
"runtimeExecutable": "npm",
|
||||||
|
"runtimeArgs": [
|
||||||
|
"run-script",
|
||||||
|
"start"
|
||||||
|
],
|
||||||
|
"skipFiles": [
|
||||||
|
"<node_internals>/**"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in a new issue