"Fossies" - the Fresh Open Source Software Archive

Member "angular-8.2.14/docs/DEBUG.md" (13 Nov 2019, 1020 Bytes) of package /linux/www/angular-8.2.14.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

Debugging Angular

The Angular project has comprehensive unit tests for the core packages and the tools. The core packages are tested both in the browser (via Karma) and on the server (via Node.js).

Debugging in Karma

It is useful to focus your debugging on one test at a time by changing that test to be defined using the fit(...) function, rather than it(...). Moreover it can be helpful to place a debugger statement in this fit clause to cause the debugger to stop when it hits this test.

Read more about starting the debugger for Karma with Bazel in the BAZEL.md document.

Debugging in Node

It is useful to focus your debugging on one test at a time by changing that test to be defined using the fit(...) function, rather than it(...). Moreover it can be helpful to place a debugger statement in this fit clause to cause the debugger to stop when it hits this test.

Read more about starting the debugger for NodeJS tests with Bazel in the BAZEL.md document.