docs(ivy): improve debug documentation (#30562)

PR Close #30562
This commit is contained in:
Olivier Combe 2019-05-20 14:41:44 +02:00 committed by Matias Niemelä
parent fd23663a29
commit e3f3b106ac
1 changed files with 3 additions and 0 deletions

View File

@ -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). 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 ### Debugging a Node Test in VSCode
First time setup: First time setup: