mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
33 lines
948 B
JSON
33 lines
948 B
JSON
// A launch configuration that compiles the extension and then opens it inside a new window
|
|
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch Extension",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceRoot}",
|
|
"--enable-proposed-api",
|
|
"vscode-samples.custom-view-samples"
|
|
],
|
|
"sourceMaps": true,
|
|
"outFiles": [
|
|
"${workspaceRoot}/out/**/*.js"
|
|
],
|
|
"preLaunchTask": "npm: watch"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to Extension Host",
|
|
"port": 5870,
|
|
"restart": true,
|
|
"outFiles": [
|
|
"${workspaceRoot}/out"
|
|
]
|
|
}
|
|
]
|
|
}
|