Skip to content

Commit 7af4a5a

Browse files
chore(internal): Update vscode shared launch options (#3089)
1 parent 34aba08 commit 7af4a5a

File tree

1 file changed

+12
-44
lines changed

1 file changed

+12
-44
lines changed

.vscode/launch.json

Lines changed: 12 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -2,50 +2,18 @@
22
"version": "0.2.0",
33
"configurations": [
44
{
5-
"name": "Attach to packager",
6-
"cwd": "${workspaceFolder}",
7-
"type": "reactnative",
8-
"request": "attach"
9-
},
10-
{
11-
"type": "node",
12-
"request": "launch",
13-
"name": "Debug e2e:android",
14-
"cwd": "${workspaceFolder}/sample",
15-
"program": "./node_modules/jest/bin/jest",
16-
"args": [
17-
"--runInBand",
18-
"--config=./jest.config.js"
19-
],
20-
"env": {
21-
"PLATFORM": "android"
22-
},
23-
"console": "integratedTerminal",
24-
"internalConsoleOptions": "neverOpen"
25-
},
26-
{
27-
"type": "node",
28-
"request": "launch",
29-
"name": "Debug e2e:ios",
30-
"cwd": "${workspaceFolder}/sample",
31-
"program": "./node_modules/jest/bin/jest",
32-
"args": [
33-
"--runInBand",
34-
"--config=./jest.config.js"
35-
],
36-
"env": {
37-
"PLATFORM": "ios"
38-
},
39-
"console": "integratedTerminal",
40-
"internalConsoleOptions": "neverOpen"
41-
},
42-
{
43-
"name": "Debug Sample - iOS",
44-
"cwd": "${workspaceFolder}",
45-
"type": "reactnative",
46-
"request": "launch",
47-
"platform": "ios",
48-
"isDynamic": true
5+
"name": "Jest Tests",
6+
"type": "node",
7+
"request": "launch",
8+
"runtimeArgs": ["--inspect-brk", "${workspaceRoot}/node_modules/jest/bin/jest.js"],
9+
"args": ["--runInBand", "-t", ""],
10+
"cwd": "${workspaceRoot}",
11+
"console": "integratedTerminal",
12+
"internalConsoleOptions": "neverOpen",
13+
"outputCapture": "std",
14+
"sourceMaps": true,
15+
"smartStep": true
4916
},
17+
5018
]
5119
}

0 commit comments

Comments
 (0)