Repository navigation
Expand file tree
/
Copy pathlaunch.json
More file actions
42 lines (42 loc) · 1.35 KB
/
Copy pathlaunch.json
File metadata and controls
42 lines (42 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
// 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": "Bootstrap",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/src/bootstrap.ts",
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"preLaunchTask": "tsc: build - tsconfig.json",
"outputCapture": "std",
"smartStep": true,
"runtimeArgs": ["--enable-source-maps", "--import", "./dist/src/zodOpenapi.js"]
},
{
"type": "node",
"request": "launch",
"name": "Current File",
"skipFiles": ["<node_internals>/**"],
"program": "${file}",
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"preLaunchTask": "tsc: build - tsconfig.json",
"outputCapture": "std",
"runtimeArgs": ["--enable-source-maps", "--import", "./dist/src/zodOpenapi.js"]
},
{
"type": "node",
"request": "launch",
"name": "Debug Current Test File",
"autoAttachChildProcesses": true,
"skipFiles": ["<node_internals>/**", "**/node_modules/**"],
"program": "${workspaceRoot}/node_modules/vitest/vitest.mjs",
"args": ["run", "--test-timeout", "0", "${relativeFile}"],
// "smartStep": true,
"console": "integratedTerminal"
}
]
}