[add] launch configs

This commit is contained in:
2025-08-07 15:34:16 +01:00
parent 393e22bd45
commit 2f25f87186

45
.vscode/launch.json vendored
View File

@@ -1,18 +1,31 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/src/index.mjs",
"args": ["${workspaceFolder}/test_src/index.mjs"],
}
]
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": ["<node_internals>/**", "cache/**", "candidates/**"],
"sourceMaps": false,
"program": "${workspaceFolder}/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"]
}
]
}