[add] launch configs
This commit is contained in:
21
.vscode/launch.json
vendored
21
.vscode/launch.json
vendored
@@ -8,11 +8,24 @@
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Launch Program",
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"skipFiles": ["<node_internals>/**", "cache/**", "candidates/**"],
|
||||
"sourceMaps": false,
|
||||
|
||||
"program": "${workspaceFolder}/src/index.mjs",
|
||||
"args": ["${workspaceFolder}/test_src/index.mjs"],
|
||||
"args": []
|
||||
},
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Test",
|
||||
"skipFiles": ["<node_internals>/**", "cache/**", "candidates/**"],
|
||||
"sourceMaps": false,
|
||||
// run mocha test
|
||||
"runtimeExecutable": "npx",
|
||||
"runtimeArgs": [
|
||||
"mocha"
|
||||
],
|
||||
"args": ["test"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user