// A launch configuration that compiles the extension and then opens it inside a new window
|
|
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch GitLens",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
|
|
"env": {
|
|
"VSCODE_DEBUGGING_EXTENSION": "gitlens"
|
|
},
|
|
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
|
"skipFiles": ["<node_internals>/**/*.js", "**/node_modules/**/*.js", "**/extensions/**/*.js"],
|
|
"smartStep": true,
|
|
"sourceMaps": true
|
|
},
|
|
{
|
|
"name": "Watch & Launch GitLens",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"env": {
|
|
"VSCODE_DEBUGGING_EXTENSION": "gitlens"
|
|
},
|
|
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
|
|
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
|
"skipFiles": ["<node_internals>/**/*.js", "**/node_modules/**/*.js", "**/extensions/**/*.js"],
|
|
"smartStep": true,
|
|
"sourceMaps": true,
|
|
"preLaunchTask": "npm: watch"
|
|
}
|
|
]
|
|
}
|