50 lines
1.7 KiB
JSON
50 lines
1.7 KiB
JSON
// A launch configuration that compiles the extension and then opens it 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": "Run Extension without Local Extensions",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"args": ["--extensionDevelopmentPath=${workspaceFolder}", "--disable-extensions"],
|
|
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
|
"preLaunchTask": "${defaultBuildTask}"
|
|
},
|
|
{
|
|
"name": "Run Extension",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
|
|
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
|
"preLaunchTask": "${defaultBuildTask}"
|
|
},
|
|
{
|
|
"name": "Run Web Extension in VS Code",
|
|
"type": "pwa-extensionHost",
|
|
"debugWebWorkerHost": true,
|
|
"request": "launch",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
|
"--extensionDevelopmentKind=web",
|
|
"--disable-extensions"
|
|
],
|
|
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
|
"preLaunchTask": "${defaultBuildTask}"
|
|
},
|
|
{
|
|
"name": "Extension Tests",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
|
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
|
|
],
|
|
"outFiles": ["${workspaceFolder}/out/**/*.js", "${workspaceFolder}/dist/**/*.js"],
|
|
"preLaunchTask": "tasks: watch-tests"
|
|
}
|
|
]
|
|
}
|