2019-12-26 17:47:37 +08:00
|
|
|
// 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
|
2019-12-20 11:12:22 +08:00
|
|
|
{
|
2019-12-26 20:56:51 +08:00
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
// {
|
|
|
|
// "name": "Run Extension",
|
|
|
|
// "type": "extensionHost",
|
|
|
|
// "request": "launch",
|
|
|
|
// "runtimeExecutable": "${execPath}",
|
|
|
|
// "args": ["--extensionDevelopmentPath=${workspaceFolder}"],
|
|
|
|
// // "outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
|
|
|
// // "preLaunchTask": "npm: watch"
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// "name": "Extension Tests",
|
|
|
|
// "type": "extensionHost",
|
|
|
|
// "request": "launch",
|
|
|
|
// "runtimeExecutable": "${execPath}",
|
|
|
|
// "args": ["--extensionDevelopmentPath=${workspaceFolder}", "--extensionTestsPath=${workspaceFolder}/out/test"],
|
|
|
|
// "outFiles": ["${workspaceFolder}/dist/test/**/*.js"],
|
|
|
|
// "preLaunchTask": "npm: watch"
|
|
|
|
// }
|
|
|
|
{
|
|
|
|
"name": "Run Extension",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
|
|
|
|
"outFiles": ["${workspaceFolder}/out/**/*.js"],
|
|
|
|
"preLaunchTask": "npm: compile"
|
|
|
|
// "preLaunchTask": "${defaultBuildTask}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Extension Tests",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
|
|
|
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
|
|
|
|
],
|
|
|
|
"outFiles": ["${workspaceFolder}/dist/test/**/*.js"],
|
|
|
|
"preLaunchTask": "${defaultBuildTask}"
|
|
|
|
}
|
|
|
|
]
|
2019-12-26 17:47:37 +08:00
|
|
|
}
|