2021-03-25 10:38:17 -05:00
|
|
|
// A launch configuration that compiles the extension and then opens it inside a new window
|
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
2021-04-23 17:53:01 -05:00
|
|
|
"name": "Launch Client",
|
2021-03-25 10:38:17 -05:00
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
|
|
|
"--extensionDevelopmentPath=${workspaceRoot}/vscode"
|
|
|
|
],
|
|
|
|
"outFiles": [
|
2021-04-23 17:53:01 -05:00
|
|
|
"${workspaceRoot}/vscode/dist/**/*.js"
|
2021-03-25 10:38:17 -05:00
|
|
|
],
|
|
|
|
"preLaunchTask": {
|
|
|
|
"type": "npm",
|
2021-04-23 17:53:01 -05:00
|
|
|
"script": "build:extension"
|
2021-03-25 10:38:17 -05:00
|
|
|
}
|
|
|
|
},
|
2021-04-23 17:53:01 -05:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "attach",
|
|
|
|
"name": "Attach to Server",
|
|
|
|
"port": 6040,
|
|
|
|
"restart": true,
|
|
|
|
"outFiles": ["${workspaceRoot}/vscode/dist/**/*.js"]
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"compounds": [
|
|
|
|
{
|
|
|
|
"name": "Launch Extension",
|
|
|
|
"configurations": ["Launch Client", "Attach to Server"]
|
|
|
|
}
|
2021-03-25 10:38:17 -05:00
|
|
|
]
|
|
|
|
}
|