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
This commit is contained in:
Andrew Kushnir 2020-11-25 13:40:56 -08:00 committed by Joey Perrott
parent 356a256909
commit effc079831
1 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,7 @@
"remoteRoot": "${workspaceRoot}", "remoteRoot": "${workspaceRoot}",
"stopOnEntry": false, "stopOnEntry": false,
"timeout": 600000, "timeout": 600000,
"outFiles": ["${workspaceFolder}/bazel-out/**/angular/**/*.js"],
}, },
{ {
"name": "Attach to bazel test ... --config=debug (no source maps)", "name": "Attach to bazel test ... --config=debug (no source maps)",
@ -29,6 +30,7 @@
"remoteRoot": "${workspaceRoot}", "remoteRoot": "${workspaceRoot}",
"stopOnEntry": false, "stopOnEntry": false,
"timeout": 600000, "timeout": 600000,
"outFiles": ["${workspaceFolder}/bazel-out/**/angular/**/*.js"],
}, },
{ {
"name": "IVY:packages/core/test/acceptance", "name": "IVY:packages/core/test/acceptance",
@ -46,6 +48,7 @@
"restart": true, "restart": true,
"sourceMaps": true, "sourceMaps": true,
"timeout": 600000, "timeout": 600000,
"outFiles": ["${workspaceFolder}/bazel-out/**/angular/**/*.js"],
}, },
{ {
"name": "IVY:packages/core/test/render3", "name": "IVY:packages/core/test/render3",
@ -63,6 +66,7 @@
"restart": true, "restart": true,
"sourceMaps": true, "sourceMaps": true,
"timeout": 600000, "timeout": 600000,
"outFiles": ["${workspaceFolder}/bazel-out/**/angular/**/*.js"],
}, },
{ {
"name": "IVY:packages/core/test", "name": "IVY:packages/core/test",
@ -80,6 +84,7 @@
"restart": true, "restart": true,
"sourceMaps": true, "sourceMaps": true,
"timeout": 600000, "timeout": 600000,
"outFiles": ["${workspaceFolder}/bazel-out/**/angular/**/*.js"],
}, },
] ]
} }