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