launch.json: 'Debug current test file' F5 config running node --test --strip-types on the active file. settings.json: register .ts with the connor4312.nodejs-testing extension via nodejs-testing.extensions, using --strip-types (the repo pins node >=26 with native type stripping) instead of tsx, so the extension discovers src/*.test.ts and shows Run/Debug lenses above test() calls in the native Testing UI. extensions.json: recommend connor4312.nodejs-testing; cspell.json: allow 'connor' for the extension id. .gitignore: un-ignore .vscode/launch.json so the config is shared.
16 lines
401 B
JSON
16 lines
401 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Debug current test file",
|
|
"runtimeExecutable": "node",
|
|
"runtimeArgs": ["--test", "--strip-types"],
|
|
"args": ["${file}"],
|
|
"cwd": "${workspaceFolder}",
|
|
"console": "integratedTerminal"
|
|
}
|
|
]
|
|
}
|