2016-11-16 09:33:20 -08:00
|
|
|
// 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}",
|
2017-12-03 19:10:18 +01:00
|
|
|
"args": [
|
|
|
|
|
"--extensionDevelopmentPath=${workspaceRoot}"
|
|
|
|
|
],
|
2016-11-16 09:33:20 -08:00
|
|
|
"stopOnEntry": false,
|
|
|
|
|
"sourceMaps": true,
|
2017-12-03 19:10:18 +01:00
|
|
|
"outFiles": [
|
|
|
|
|
"${workspaceRoot}/out/src/**/*.js"
|
|
|
|
|
],
|
2016-11-16 09:33:20 -08:00
|
|
|
"preLaunchTask": "npm"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "Launch Tests",
|
|
|
|
|
"type": "extensionHost",
|
|
|
|
|
"request": "launch",
|
|
|
|
|
"runtimeExecutable": "${execPath}",
|
2017-12-03 19:10:18 +01:00
|
|
|
"args": [
|
|
|
|
|
"--extensionDevelopmentPath=${workspaceRoot}",
|
|
|
|
|
"--extensionTestsPath=${workspaceRoot}/out/test"
|
|
|
|
|
],
|
2016-11-16 09:33:20 -08:00
|
|
|
"stopOnEntry": false,
|
|
|
|
|
"sourceMaps": true,
|
2017-12-03 19:10:18 +01:00
|
|
|
"outFiles": [
|
|
|
|
|
"${workspaceRoot}/out/test/**/*.js"
|
|
|
|
|
],
|
2016-11-16 09:33:20 -08:00
|
|
|
"preLaunchTask": "npm"
|
2017-05-21 18:18:07 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "node",
|
|
|
|
|
"request": "attach",
|
|
|
|
|
"name": "Attach to Extension Host",
|
2017-12-03 19:10:18 +01:00
|
|
|
"protocol": "inspector",
|
2017-05-21 18:18:07 +02:00
|
|
|
"port": 5870,
|
|
|
|
|
"restart": true,
|
2017-12-03 19:10:18 +01:00
|
|
|
"outFiles": [
|
|
|
|
|
"${workspaceRoot}/out/src"
|
|
|
|
|
]
|
2016-11-16 09:33:20 -08:00
|
|
|
}
|
|
|
|
|
]
|
2017-12-03 19:10:18 +01:00
|
|
|
}
|