Skip to content
Permalink
Browse files

fix(bazel): emit full node stack traces when Angular compilation cras…

…hes (#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
  • Loading branch information...
IgorMinar authored and mhevery committed Dec 14, 2018
1 parent 650c5a0 commit 522919a537d83f612b00953b21bd83e2e2f5c4bc
Showing with 2 additions and 0 deletions.
  1. +2 −0 packages/bazel/src/ng_module.bzl
@@ -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(

0 comments on commit 522919a

Please sign in to comment.
You can’t perform that action at this time.