From e3f3b106ac2e049b7770e1e821e84266388f949b Mon Sep 17 00:00:00 2001 From: Olivier Combe Date: Mon, 20 May 2019 14:41:44 +0200 Subject: [PATCH] docs(ivy): improve debug documentation (#30562) PR Close #30562 --- docs/BAZEL.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/BAZEL.md b/docs/BAZEL.md index 2a7cf4f4e7..f993420276 100644 --- a/docs/BAZEL.md +++ b/docs/BAZEL.md @@ -81,6 +81,9 @@ See also: [`//.bazelrc`](https://github.com/angular/angular/blob/master/.bazelrc The process should automatically connect to the debugger. For additional info and testing options, see the [nodejs_test documentation](https://bazelbuild.github.io/rules_nodejs/node/node.html#nodejs_test). +- Click on "Resume script execution" to let the code run until the first `debugger` statement or a previously set breakpoint. +- If you're debugging an ivy test and you want to inspect the generated template instructions, find the template of your component in the call stack and click on `(source mapped from [CompName].js)` at the bottom of the code. You can also disable sourcemaps in the options or go to sources and look into ng:// namespace to see all the generated code. + ### Debugging a Node Test in VSCode First time setup: