File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ Debug specs in the browser in the same way that you debug an application.
771 . Reveal the Karma browser window.
88 See [ Set up testing] ( guide/testing#set-up-testing ) if you need help with this step.
99
10- 1 . Click the ** DEBUG** button; it opens a new browser tab and re-runs the tests.
11- 1 . Open the browser's " Developer Tools" \( ` Ctrl-Shift-I ` on Windows; ` Command-Option-I ` in macOS \) .
12- 1 . Pick the "sources" section.
13- 1 . Open the ` 1st.spec.ts ` test file \( Control/Command-P, then start typing the name of the file\) .
14- 1 . Set a breakpoint in the test.
15- 1 . Refresh the browser, and it stops at the breakpoint.
10+ 1 . Click the ** DEBUG** button to open a new browser tab and re-run the tests.
11+ 2 . Open the browser's ** Developer Tools** . On Windows, press ` Ctrl-Shift-I ` . On macOS, press ` Command-Option-I ` .
12+ 3 . Pick the ** Sources ** section.
13+ 4 . Press ` Control/Command-P ` , and then start typing the name of your test file to open it .
14+ 5 . Set a breakpoint in the test.
15+ 6 . Refresh the browser, and notice how it stops at the breakpoint.
1616
1717<div class =" lightbox " >
1818
You can’t perform that action at this time.
0 commit comments