36 строки
1.1 KiB
JSON
36 строки
1.1 KiB
JSON
// A launch configuration that compiles the extension and then opens it inside a new window
|
|
{
|
|
"version": "0.1.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch Extension",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceFolder}"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/dist/**/*.js"
|
|
],
|
|
"preLaunchTask": "npm: webpack"
|
|
},
|
|
{
|
|
"name": "Launch Tests",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceRoot}",
|
|
"--extensionTestsPath=${workspaceRoot}/out/test"
|
|
],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": [
|
|
"${workspaceRoot}/out/test/**/*.js"
|
|
],
|
|
"preLaunchTask": "npm: compile"
|
|
}
|
|
]
|
|
}
|