Skip to content

Commit 9e1900b

Browse files
kyliauatscott
authored andcommitted
build: disable other extensions while testing
Disable all non-native extensions when bringing up the dev instance.
1 parent 4d94f40 commit 9e1900b

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

.vscode/launch.json

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@
77
"request": "launch",
88
"name": "Launch Client",
99
"runtimeExecutable": "${execPath}",
10-
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
11-
"outFiles": ["${workspaceRoot}/dist/client/*.js"],
10+
"args": [
11+
"--disable-extensions",
12+
"--extensionDevelopmentPath=${workspaceRoot}"
13+
],
14+
"outFiles": [
15+
"${workspaceRoot}/dist/client/*.js"
16+
],
1217
"preLaunchTask": {
1318
"type": "npm",
1419
"script": "watch"
@@ -20,7 +25,9 @@
2025
"name": "Attach to Server",
2126
"port": 6009,
2227
"restart": true,
23-
"outFiles": ["${workspaceRoot}/dist/server/*.js"]
28+
"outFiles": [
29+
"${workspaceRoot}/dist/server/*.js"
30+
]
2431
},
2532
{
2633
"name": "Integration test: Attach to server",
@@ -29,7 +36,9 @@
2936
"skipFiles": [
3037
"<node_internals>/**"
3138
],
32-
"outFiles": ["${workspaceRoot}/dist/integration/lsp/*.js"],
39+
"outFiles": [
40+
"${workspaceRoot}/dist/integration/lsp/*.js"
41+
],
3342
"type": "node"
3443
},
3544
{
@@ -42,7 +51,9 @@
4251
"--extensionTestsPath=${workspaceRoot}/dist/integration/e2e",
4352
"${workspaceRoot}/integration/project"
4453
],
45-
"outFiles": ["${workspaceRoot}/dist/integration/e2e/*.js"],
54+
"outFiles": [
55+
"${workspaceRoot}/dist/integration/e2e/*.js"
56+
],
4657
"preLaunchTask": {
4758
"type": "npm",
4859
"script": "compile:integration"
@@ -52,7 +63,10 @@
5263
"compounds": [
5364
{
5465
"name": "Client + Server",
55-
"configurations": ["Launch Client", "Attach to Server"]
66+
"configurations": [
67+
"Launch Client",
68+
"Attach to Server"
69+
]
5670
}
5771
]
58-
}
72+
}

0 commit comments

Comments
 (0)