Skip to content

Commit 0950c4a

Browse files
chore: add launch config for VS Code to debug all tests
1 parent 188d6c2 commit 0950c4a

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.vscode/launch.json

+19
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,25 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7+
{
8+
"name": "vitest: Run All",
9+
"type": "node",
10+
"request": "launch",
11+
"autoAttachChildProcesses": true,
12+
"skipFiles": [
13+
"<node_internals>/**",
14+
"node_modules/vitest/**"
15+
],
16+
"program": "${workspaceRoot}/node_modules/.bin/vitest",
17+
"args": [
18+
"--run",
19+
],
20+
"outputCapture": "std",
21+
"preLaunchTask": "make: compile",
22+
"presentation": {
23+
"group": "vitest",
24+
}
25+
},
726
{
827
"name": "vitest: Run Current File",
928
"type": "node",

package-lock.json

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)