mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-09-11 12:25:59 +03:00
52 lines
1.7 KiB
JSON
52 lines
1.7 KiB
JSON
// A launch configuration that compiles the extension and then opens it inside a new window
|
|
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Build, Run Extension",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceRoot}/{out, node_modules}/**/*.js"],
|
|
"preLaunchTask": "gulp: build-dev",
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
},
|
|
{
|
|
"name": "Run Extension",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceRoot}/{out, node_modules}/**/*.js"]
|
|
},
|
|
{
|
|
"name": "Run Tests",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceRoot}",
|
|
"--extensionTestsPath=${workspaceRoot}/out/test"
|
|
],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceRoot}/{out, node_modules}/**/*.js"],
|
|
"preLaunchTask": "gulp: prepare-test",
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
},
|
|
{
|
|
"name": "Run Web Extension",
|
|
"type": "pwa-extensionHost",
|
|
"debugWebWorkerHost": true,
|
|
"request": "launch",
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionDevelopmentKind=web"],
|
|
"outFiles": ["${workspaceRoot}/{out, node_modules}/**/*.js"]
|
|
}
|
|
]
|
|
}
|