2017-10-20 13:51:32 +02:00
|
|
|
// A launch configuration that compiles the extension and then opens it inside a new window
|
|
|
|
|
{
|
2018-11-19 12:43:10 +01:00
|
|
|
"version": "0.2.0",
|
2017-10-20 13:51:32 +02:00
|
|
|
"configurations": [
|
|
|
|
|
{
|
|
|
|
|
"name": "Launch Extension",
|
|
|
|
|
"type": "extensionHost",
|
|
|
|
|
"request": "launch",
|
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
|
"args": [
|
|
|
|
|
"--extensionDevelopmentPath=${workspaceRoot}"
|
|
|
|
|
],
|
|
|
|
|
"stopOnEntry": false,
|
|
|
|
|
"sourceMaps": true,
|
|
|
|
|
"outFiles": [
|
|
|
|
|
"${workspaceRoot}/out/src/**/*.js"
|
|
|
|
|
],
|
2018-05-31 16:19:18 +02:00
|
|
|
"preLaunchTask": "npm: watch"
|
2017-10-20 13:51:32 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "node",
|
|
|
|
|
"request": "attach",
|
|
|
|
|
"name": "Attach to Extension Host",
|
2018-11-19 12:43:10 +01:00
|
|
|
"protocol": "inspector",
|
2017-10-20 13:51:32 +02:00
|
|
|
"port": 5870,
|
|
|
|
|
"restart": true,
|
|
|
|
|
"outFiles": [
|
2018-11-19 12:43:10 +01:00
|
|
|
"${workspaceRoot}/out/src"
|
2017-10-20 13:51:32 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|