-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathlaunch.json
79 lines (79 loc) · 2.35 KB
/
launch.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"version": "0.1.0",
"configurations": [
{
"name": "launch as server",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/../out/debug-adapter/webKitDebug.js",
"runtimeArgs": ["--nolazy"],
"args": [ "--server=4712" ],
"stopOnEntry": true,
"sourceMaps": true,
"outDir": "${workspaceRoot}/../out",
"cwd": "${workspaceRoot}"
},
{
"name": "launch in extension host",
"type": "extensionHost",
"request": "launch",
// Path to VSCode executable
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceRoot}/.."
],
"stopOnEntry": false,
"sourceMaps": true,
"outDir": "${workspaceRoot}/../out",
"cwd": "${workspaceRoot}"
},
{
"name": "run tests on mac",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/../node_modules/mocha/bin/_mocha",
"runtimeArgs": [ "--nolazy" ],
"args": [
"--opts", "${workspaceRoot}/tests/config/mocha.opts",
"--config", "${workspaceRoot}/tests/config/mac.json",
"${workspaceRoot}/../out/tests/"
],
"stopOnEntry": false,
"sourceMaps": true,
"outDir": "${workspaceRoot}/../out",
"cwd": "${workspaceRoot}"
},
{
"name": "run tests on win",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/../node_modules/mocha/bin/_mocha",
"runtimeArgs": [ "--nolazy" ],
"args": [
"--opts", "${workspaceRoot}/tests/config/mocha.opts",
"--config", "${workspaceRoot}/tests/config/win.json",
"${workspaceRoot}/../out/tests/"
],
"stopOnEntry": false,
"sourceMaps": true,
"outDir": "${workspaceRoot}/../out",
"cwd": "${workspaceRoot}"
},
{
"name": "run tests (custom)",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/../node_modules/mocha/bin/_mocha",
"runtimeArgs": [ "--nolazy" ],
"args": [
"--opts", "${workspaceRoot}/tests/config/mocha.opts",
"--config", "${workspaceRoot}/tests/config/custom.json",
"${workspaceRoot}/../out/tests/"
],
"stopOnEntry": false,
"sourceMaps": true,
"outDir": "${workspaceRoot}/../out",
"cwd": "${workspaceRoot}"
}
]
}