mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
34 lines
1.0 KiB
JSON
34 lines
1.0 KiB
JSON
// A launch configuration that compiles the extension and then opens it inside a new window
|
|
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch Extension",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceFolder}"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/dist/**/*.js"
|
|
],
|
|
"preLaunchTask": "npm: webpack"
|
|
},
|
|
{
|
|
"name": "Extension Tests",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
|
"--extensionTestsPath=${workspaceFolder}/out/test"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/test/**/*.js"
|
|
],
|
|
"preLaunchTask": "npm: test-compile"
|
|
}
|
|
]
|
|
}
|