mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
74 lines
2.4 KiB
JSON
74 lines
2.4 KiB
JSON
// A launch configuration that compiles the extension and then opens it inside a new window
|
|
{
|
|
"version": "0.1.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch Decorator Sample",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}/decorator-sample" ],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceRoot}/decorator-sample/out/**/*.js"],
|
|
"preLaunchTask": "compile-decorator"
|
|
},
|
|
{
|
|
"name": "Launch Preview Html Sample",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}/previewhtml-sample" ],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceRoot}/previewhtml-sample/out/**/*.js"],
|
|
"preLaunchTask": "compile-previewhtml"
|
|
},
|
|
{
|
|
"name": "Launch Content Provider Sample",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}/contentprovider-sample" ],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceRoot}/contentprovider-sample/out/**/*.js"],
|
|
"preLaunchTask": "compile-contentprovider"
|
|
},
|
|
{
|
|
"name": "Launch Status Bar Sample",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}/statusbar-sample" ],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceRoot}/statusbar-sample/out/**/*.js"],
|
|
"preLaunchTask": "compile-statusbar"
|
|
},
|
|
{
|
|
"name": "Launch Language Provider Sample",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}/languageprovider-sample" ],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceRoot}/languageprovider-sample/client/out/**/*.js"]
|
|
},
|
|
{
|
|
"name": "Attach Language Provider Sample Server",
|
|
"type": "node",
|
|
"request": "attach",
|
|
"port": 6004,
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceRoot}/languageprovider-sample/server/out/**/*.js"]
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Launch Language Provider Sample & Attach to Server",
|
|
"configurations": ["Launch Language Provider Sample", "Attach Language Provider Sample Server"]
|
|
}
|
|
]
|
|
} |