1 | {
|
2 | // Use IntelliSense to learn about possible attributes.
|
3 | // Hover to view descriptions of existing attributes.
|
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
5 | "version": "0.2.0",
|
6 | "configurations": [
|
7 | {
|
8 | "name": "Start",
|
9 | "type": "node",
|
10 | "request": "launch",
|
11 | "args": [
|
12 | "src/index.ts"
|
13 | ],
|
14 | "runtimeArgs": [
|
15 | "--nolazy",
|
16 | "-r",
|
17 | "ts-node/register"
|
18 | ],
|
19 | "sourceMaps": true,
|
20 | "cwd": "${workspaceRoot}",
|
21 | "protocol": "inspector",
|
22 | },
|
23 | {
|
24 | "name": "All Tests",
|
25 | "type": "node",
|
26 | "request": "launch",
|
27 | "program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
|
28 | "stopOnEntry": false,
|
29 | "args": [
|
30 | "--runInBand",
|
31 | "--no-cache"
|
32 | ],
|
33 | "cwd": "${workspaceRoot}",
|
34 | "preLaunchTask": null,
|
35 | "runtimeExecutable": null,
|
36 | "runtimeArgs": [
|
37 | "--nolazy"
|
38 | ],
|
39 | "console": "internalConsole",
|
40 | "sourceMaps": true
|
41 | },
|
42 | {
|
43 | "name": "Tests in Current File",
|
44 | "type": "node",
|
45 | "request": "launch",
|
46 | "program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
|
47 | "stopOnEntry": false,
|
48 | "args": [
|
49 | "--runInBand",
|
50 | "--no-cache",
|
51 | "--config",
|
52 | "jest.config.js",
|
53 | "--runTestsByPath",
|
54 | "${relativeFile}"
|
55 | ],
|
56 | "cwd": "${workspaceRoot}",
|
57 | "preLaunchTask": null,
|
58 | "runtimeExecutable": null,
|
59 | "runtimeArgs": [
|
60 | "--nolazy"
|
61 | ],
|
62 | "console": "internalConsole",
|
63 | "sourceMaps": true
|
64 | }
|
65 | ]
|
66 | }
|