// 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"
|
|
},
|
|
"cwd": "${workspaceFolder}",
|
|
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
|
"presentation": {
|
|
"group": "2_launch",
|
|
"order": 1
|
|
},
|
|
"skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
|
|
"smartStep": true,
|
|
"sourceMaps": true,
|
|
"trace": true
|
|
},
|
|
{
|
|
"name": "Launch GitLens (Sandbox)",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--disable-extensions", "--extensionDevelopmentPath=${workspaceFolder}"],
|
|
"env": {
|
|
"VSCODE_DEBUGGING_EXTENSION": "gitlens"
|
|
},
|
|
"cwd": "${workspaceFolder}",
|
|
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
|
"presentation": {
|
|
"group": "2_launch",
|
|
"order": 2
|
|
},
|
|
"skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
|
|
"smartStep": true,
|
|
"sourceMaps": true,
|
|
"trace": true
|
|
},
|
|
{
|
|
"name": "Watch & Launch GitLens",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"env": {
|
|
"VSCODE_DEBUGGING_EXTENSION": "gitlens"
|
|
},
|
|
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
|
|
"cwd": "${workspaceFolder}",
|
|
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
|
"preLaunchTask": "npm: watch",
|
|
"presentation": {
|
|
"group": "1_watch",
|
|
"order": 1
|
|
},
|
|
"skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
|
|
"smartStep": true,
|
|
"sourceMaps": true,
|
|
"trace": true
|
|
},
|
|
{
|
|
"name": "Watch & Launch GitLens (Sandbox)",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--disable-extensions", "--extensionDevelopmentPath=${workspaceFolder}"],
|
|
"env": {
|
|
"VSCODE_DEBUGGING_EXTENSION": "gitlens"
|
|
},
|
|
"cwd": "${workspaceFolder}",
|
|
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
|
"preLaunchTask": "npm: watch",
|
|
"presentation": {
|
|
"group": "1_watch",
|
|
"order": 2
|
|
},
|
|
"skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
|
|
"smartStep": true,
|
|
"sourceMaps": true,
|
|
"trace": true
|
|
}
|
|
]
|
|
}
|