// A launch configuration that compiles the extension and then opens it inside a new window { "version": "0.2.0", "configurations": [ { "name": "Run", "type": "extensionHost", "request": "launch", "runtimeExecutable": "${execPath}", "args": ["--disable-extension=eamodio.gitlens-insiders", "--extensionDevelopmentPath=${workspaceFolder}"], "cwd": "${workspaceFolder}", "debugWebviews": true, "rendererDebugOptions": { "sourceMaps": true, // "urlFilter": "*eamodio.gitlens*", "webRoot": "${workspaceFolder}/src/webviews/apps" }, "outFiles": ["${workspaceFolder}/dist/**/*.js"], "presentation": { "group": "2_run", "order": 1 }, "skipFiles": ["/**", "**/node_modules/**", "**/resources/app/out/vs/**"], "smartStep": true, "sourceMaps": true, "trace": true }, { "name": "Run (sandboxed)", "type": "extensionHost", "request": "launch", "runtimeExecutable": "${execPath}", "args": ["--disable-extensions", "--extensionDevelopmentPath=${workspaceFolder}"], "cwd": "${workspaceFolder}", "debugWebviews": true, "rendererDebugOptions": { "sourceMaps": true, // "urlFilter": "*eamodio.gitlens*", "webRoot": "${workspaceFolder}/src/webviews/apps" }, "outFiles": ["${workspaceFolder}/dist/**/*.js"], "presentation": { "group": "2_run", "order": 2 }, "skipFiles": ["/**", "**/node_modules/**", "**/resources/app/out/vs/**"], "smartStep": true, "sourceMaps": true, "trace": true }, { "name": "Run Tests", "type": "extensionHost", "request": "launch", "args": [ "--disable-extensions", "--extensionDevelopmentPath=${workspaceFolder}", "--extensionTestsPath=${workspaceFolder}/out/test/suite/index" ], "outFiles": ["${workspaceFolder}/out/test/**/*.js", "${workspaceFolder}/dist/**/*.js"], "presentation": { "group": "2_run_tests", "order": 2 }, "skipFiles": ["/**", "**/node_modules/**", "**/resources/app/out/vs/**"], "smartStep": true, "sourceMaps": true }, { "name": "Watch & Run", "type": "extensionHost", "request": "launch", "runtimeExecutable": "${execPath}", "args": ["--disable-extension=eamodio.gitlens-insiders", "--extensionDevelopmentPath=${workspaceFolder}"], "cwd": "${workspaceFolder}", "debugWebviews": true, "rendererDebugOptions": { "sourceMaps": true, // "urlFilter": "*eamodio.gitlens*", "webRoot": "${workspaceFolder}/src/webviews/apps" }, "outFiles": ["${workspaceFolder}/dist/**/*.js"], "preLaunchTask": "${defaultBuildTask}", "presentation": { "group": "1_watch", "order": 1 }, "skipFiles": ["/**", "**/node_modules/**", "**/resources/app/out/vs/**"], "smartStep": true, "sourceMaps": true, "trace": true }, { "name": "Watch & Run (web)", "type": "extensionHost", "request": "launch", "runtimeExecutable": "${execPath}", "args": [ // "--folder-uri=vscode-vfs://github/gitkraken/vscode-gitlens", "--disable-extension=eamodio.gitlens-insiders", "--extensionDevelopmentPath=${workspaceFolder}", "--extensionDevelopmentKind=web" ], "cwd": "${workspaceFolder}", "debugWebWorkerHost": true, "rendererDebugOptions": { "sourceMaps": true, "webRoot": "${workspaceFolder}" }, "outFiles": ["${workspaceFolder}/dist/browser/**/*.js"], "preLaunchTask": "${defaultBuildTask}", "presentation": { "group": "1_watch", "order": 1 }, "skipFiles": ["/**", "**/node_modules/**", "**/resources/app/out/vs/**"], "smartStep": true, "sourceMaps": true, "trace": true }, { "name": "Watch & Run (sandboxed)", "type": "extensionHost", "request": "launch", "runtimeExecutable": "${execPath}", "args": ["--disable-extensions", "--extensionDevelopmentPath=${workspaceFolder}"], "cwd": "${workspaceFolder}", "debugWebviews": true, "rendererDebugOptions": { "sourceMaps": true, // "urlFilter": "*eamodio.gitlens*", "webRoot": "${workspaceFolder}/src/webviews/apps" }, "outFiles": ["${workspaceFolder}/dist/**/*.js"], "preLaunchTask": "${defaultBuildTask}", "presentation": { "group": "1_watch", "order": 2 }, "skipFiles": ["/**", "**/node_modules/**", "**/resources/app/out/vs/**"], "smartStep": true, "sourceMaps": true, "trace": true }, { "name": "Watch & Run Tests", "type": "extensionHost", "request": "launch", "args": [ "--disable-extensions", "--extensionDevelopmentPath=${workspaceFolder}", "--extensionTestsPath=${workspaceFolder}/out/test/suite/index" ], "outFiles": ["${workspaceFolder}/out/test/**/*.js", "${workspaceFolder}/dist/**/*.js"], "preLaunchTask": "npm: watch:tests", "presentation": { "group": "1_watch_tests", "order": 2 }, "skipFiles": ["/**", "**/node_modules/**", "**/resources/app/out/vs/**"], "smartStep": true, "sourceMaps": true } ] }