diff --git a/.gitignore b/.gitignore index 161d8e3..dd4f22f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .eslintcache +.vscode-clean dist node_modules images/settings diff --git a/.vscode/launch.json b/.vscode/launch.json index 13b52c0..f741d9a 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -73,7 +73,7 @@ "trace": true }, { - "name": "Watch & Launch GitLens (Sandboxed)", + "name": "Watch & Launch GitLens (sandboxed)", "type": "pwa-extensionHost", "request": "launch", "runtimeExecutable": "${execPath}", @@ -95,6 +95,34 @@ "smartStep": true, "sourceMaps": true, "trace": true + }, + { + "name": "Watch & Launch GitLens (cleanroom)", + "type": "pwa-extensionHost", + "request": "launch", + "runtimeExecutable": "${execPath}", + "args": [ + "--user-data-dir=${workspaceFolder}/.vscode-clean", + "--extensions-dir=${workspaceFolder}/.vscode-clean/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": 1 + }, + "skipFiles": ["/**", "**/node_modules/**", "**/resources/app/out/vs/**"], + "smartStep": true, + "sourceMaps": true, + "trace": true } ] }