-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathlaunch.json
85 lines (85 loc) · 2.33 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
80
81
82
83
84
85
// A launch configuration that launches the extension inside a new window
// 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": [
{
"name": "Launch VS Code extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"sourceMaps": true,
"args": [
"--extensionDevelopmentPath=${workspaceFolder}/packages/vscode",
"--disable-extensions"
],
"outFiles": [
"${workspaceFolder}/packages/vscode/dist/**/*.js"
],
"env": {
"VSCODE_DEBUG_MODE": "true"
}
},
{
"type": "node",
"request": "attach",
"name": "Attach to Server",
"port": 6009,
"restart": true,
"timeout": 50000,
"outFiles": [
"${workspaceFolder}/packages/language-server/dist/**/*.js"
]
},
{
"name": "Run Language Server Tests",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/packages/language-server/node_modules/mocha/bin/_mocha",
"stopOnEntry": false,
"args": [
"--timeout",
"999999",
"--colors",
"--ui",
"tdd",
"--useColors",
"true",
"./dist/src/__test__/**/*.test.js"
],
"cwd": "${workspaceRoot}/packages/language-server",
"runtimeExecutable": null,
"runtimeArgs": [],
"env": {},
"outFiles": [
"${workspaceRoot}/packages/language-server/dist/src/__test__/**/*.js"
],
"preLaunchTask": "npm: watch"
},
{
"name": "Run VS Code Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}/packages/vscode",
"--extensionTestsPath=${workspaceFolder}/packages/vscode/dist/src/__test__/index",
"${workspaceFolder}/packages/vscode/fixtures"
],
"outFiles": [
"${workspaceFolder}/packages/vscode/dist/src/__test__/**/*.js"
]
}
],
"compounds": [
{
"name": "VS Code + Language Server",
"configurations": [
"Launch VS Code extension",
"Attach to Server"
]
}
]
}