-
-
Notifications
You must be signed in to change notification settings - Fork 594
/
launch.json
139 lines (139 loc) · 4.55 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"version": "0.2.0",
"compounds": [
{
"name": "all",
"configurations": ["server", "client"]
}
],
"configurations": [
{
"name": "client",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceFolder}", "--disable-extensions"],
"internalConsoleOptions": "neverOpen",
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"smartStep": true,
"skipFiles": ["<node_internals>/**"]
},
{
"name": "server",
"type": "node",
"request": "attach",
"port": 6005,
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/server/dist/vls.js", "${workspaceFolder}/server/dist/vueServerMain.js"],
"protocol": "inspector",
"restart": true,
"smartStep": true,
"sourceMapPathOverrides": {
"server/*": "${workspaceRoot}/server/*",
},
"skipFiles": ["<node_internals>/**"]
},
{
"name": "E2E Test (LSP)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/dist-test/test/lsp",
"--user-data-dir=${workspaceFolder}/test/lsp/data-dir",
"--disable-extensions",
"${workspaceFolder}/test/lsp/fixture"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/dist-test/test/**/*.js"],
"smartStep": true,
"skipFiles": ["<node_internals>/**"]
},
{
"name": "E2E Test (Interpolation)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/dist-test/test/interpolation",
"--user-data-dir=${workspaceFolder}/test/interpolation/data-dir",
"--disable-extensions",
"${workspaceFolder}/test/interpolation/fixture"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/dist-test/test/**/*.js"],
"smartStep": true,
"skipFiles": ["<node_internals>/**"]
},
{
"name": "E2E Test (Grammar)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/dist-test/test/grammar",
"--user-data-dir=${workspaceFolder}/test/grammar/data-dir",
"--disable-extensions",
"${workspaceFolder}/test/grammar/fixture"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/dist-test/test/**/*.js"],
"smartStep": true,
"skipFiles": ["<node_internals>/**"]
},
{
"name": "E2E Test (Vue3)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/dist-test/test/vue3",
"--user-data-dir=${workspaceFolder}/test/vue3/data-dir",
"--disable-extensions",
"${workspaceFolder}/test/vue3/fixture"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/dist-test/test/**/*.js"],
"smartStep": true,
"skipFiles": ["<node_internals>/**"]
},
{
"name": "E2E Test (Component Data)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/dist-test/test/componentData",
"--user-data-dir=${workspaceFolder}/test/componentData/data-dir",
"--disable-extensions",
"${workspaceFolder}/test/componentData/fixture"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/dist-test/test/**/*.js"],
"smartStep": true,
"skipFiles": ["<node_internals>/**"]
},
{
"type": "node",
"request": "launch",
"name": "Unit Test (LSP)",
"program": "${workspaceFolder}/server/node_modules/mocha/bin/_mocha",
"args": ["${workspaceFolder}/server/test"],
"cwd": "${workspaceFolder}/server",
"internalConsoleOptions": "openOnSessionStart",
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/server/dist/**/*.js"]
}
]
}