forked from oliverschwendener/ueli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.example.json
39 lines (39 loc) · 930 Bytes
/
launch.example.json
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
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Electron Main",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"program": "${workspaceRoot}/src/main/main.ts",
"protocol": "inspector",
"sourceMaps": true,
"cwd": "${workspaceRoot}",
"outFiles": [
"${workspaceRoot}/bundle/main.js"
]
},
{
"type": "node",
"request": "launch",
"name": "Jest Tests",
"program": "${workspaceRoot}/node_modules/.bin/jest",
"args": [
"--config",
"jest.json",
"--runInBand"
],
"console": "internalConsole",
"internalConsoleOptions": "neverOpen"
},
{
"type": "chrome",
"request": "attach",
"name": "Electron Renderer",
"port": 9223,
"webRoot": "${workspaceFolder}",
"timeout": 10000
}
]
}