Skip to content

Commit 7b51228

Browse files
committed
chore: add disable extensions when testing
- Add disable extensions flag when launching the extension test environment. The flag disables all other extensions except this one. - Auto formatting.
1 parent 9e7a7d3 commit 7b51228

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.vscode/launch.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@
77
"type": "extensionHost",
88
"request": "launch",
99
"runtimeExecutable": "${execPath}",
10-
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
10+
"args": [
11+
"--extensionDevelopmentPath=${workspaceFolder}",
12+
"--disable-extensions"
13+
],
1114
"sourceMaps": true,
12-
"outFiles": ["${workspaceFolder}/out/**/*.js"],
15+
"outFiles": [
16+
"${workspaceFolder}/out/**/*.js"
17+
],
1318
"preLaunchTask": "npm: watch"
1419
},
1520
{
@@ -23,7 +28,9 @@
2328
"--extensionTestsPath=${workspaceFolder}/out/test"
2429
],
2530
"sourceMaps": true,
26-
"outFiles": ["${workspaceFolder}/out/**/*.js"],
31+
"outFiles": [
32+
"${workspaceFolder}/out/**/*.js"
33+
],
2734
"preLaunchTask": "npm: watch"
2835
}
2936
]

0 commit comments

Comments
 (0)