提交 5c6cd656 编写于 作者: T Tomas Vik

Merge branch 'disable-other-extensions' into 'master'

Disable other extensions for debugging and testing

Closes #122

See merge request gitlab-org/gitlab-vscode-extension!63
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"type": "extensionHost", "type": "extensionHost",
"request": "launch", "request": "launch",
"runtimeExecutable": "${execPath}", "runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}"], "args": ["--disable-extensions","--extensionDevelopmentPath=${workspaceRoot}"],
"stopOnEntry": false "stopOnEntry": false
}, },
{ {
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
"request": "launch", "request": "launch",
"runtimeExecutable": "${execPath}", "runtimeExecutable": "${execPath}",
"args": [ "args": [
"--disable-extensions",
"--extensionDevelopmentPath=${workspaceRoot}", "--extensionDevelopmentPath=${workspaceRoot}",
"--extensionTestsPath=${workspaceRoot}/out/unit_tests/" "--extensionTestsPath=${workspaceRoot}/out/unit_tests/"
], ],
......
...@@ -10,6 +10,7 @@ async function go() { ...@@ -10,6 +10,7 @@ async function go() {
await runTests({ await runTests({
extensionDevelopmentPath, extensionDevelopmentPath,
extensionTestsPath, extensionTestsPath,
launchArgs: ['--disable-extensions'],
}); });
} catch (err) { } catch (err) {
console.error('Failed to run tests'); console.error('Failed to run tests');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册