fix(bazel): emit full node stack traces when Angular compilation crashes (#27678)
The default 10 items are often not enough to debug deeply nested compilation operations. This PR is based on @martinprobst's http://cl/225528216. PR Close #27678
This commit is contained in:
parent
650c5a02ac
commit
522919a537
|
@ -283,6 +283,8 @@ _collect_summaries_aspect = aspect(
|
|||
_EXTRA_NODE_OPTIONS_FLAGS = [
|
||||
# Expose the v8 garbage collection API to JS.
|
||||
"--node_options=--expose-gc",
|
||||
# Show ~full stack traces, instead of cutting off after 10 items.
|
||||
"--node_options=--stack-trace-limit=100",
|
||||
]
|
||||
|
||||
def ngc_compile_action(
|
||||
|
|
Loading…
Reference in New Issue