From effc07983194ceccd547a9a46933eb65e4152fb5 Mon Sep 17 00:00:00 2001 From: Andrew Kushnir Date: Wed, 25 Nov 2020 13:40:56 -0800 Subject: [PATCH] build: use "outFiles" in .vscode/launch.json to speed up debugging sessions (#39848) This commit adds the "outFiles" config options into the .vscode/recommended-launch.json, which helps speed up the startup time of a debugging session by limiting the number of files that should be loaded. PR Close #39848 --- .vscode/recommended-launch.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.vscode/recommended-launch.json b/.vscode/recommended-launch.json index cd29cdd0f6..9b08e7c762 100644 --- a/.vscode/recommended-launch.json +++ b/.vscode/recommended-launch.json @@ -16,6 +16,7 @@ "remoteRoot": "${workspaceRoot}", "stopOnEntry": false, "timeout": 600000, + "outFiles": ["${workspaceFolder}/bazel-out/**/angular/**/*.js"], }, { "name": "Attach to bazel test ... --config=debug (no source maps)", @@ -29,6 +30,7 @@ "remoteRoot": "${workspaceRoot}", "stopOnEntry": false, "timeout": 600000, + "outFiles": ["${workspaceFolder}/bazel-out/**/angular/**/*.js"], }, { "name": "IVY:packages/core/test/acceptance", @@ -46,6 +48,7 @@ "restart": true, "sourceMaps": true, "timeout": 600000, + "outFiles": ["${workspaceFolder}/bazel-out/**/angular/**/*.js"], }, { "name": "IVY:packages/core/test/render3", @@ -63,6 +66,7 @@ "restart": true, "sourceMaps": true, "timeout": 600000, + "outFiles": ["${workspaceFolder}/bazel-out/**/angular/**/*.js"], }, { "name": "IVY:packages/core/test", @@ -80,6 +84,7 @@ "restart": true, "sourceMaps": true, "timeout": 600000, + "outFiles": ["${workspaceFolder}/bazel-out/**/angular/**/*.js"], }, ] }