Skip to content

Commit

Permalink
fix(bazel): emit full node stack traces when Angular compilation crashes
Browse files Browse the repository at this point in the history
The default 10 items are often not enough to debug deeply nested compilation operations.
  • Loading branch information
IgorMinar committed Dec 14, 2018
1 parent ad26cd6 commit 1d46573
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/bazel/src/ng_module.bzl
Expand Up @@ -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(
Expand Down

0 comments on commit 1d46573

Please sign in to comment.