Skip to content

Commit

Permalink
docs: correct debugging task step (angular#46832)
Browse files Browse the repository at this point in the history
Also remove lint errors.

Fix: angular#42781

PR Close angular#46832
  • Loading branch information
Bob Watson authored and thePunderWoman committed Jul 13, 2022
1 parent 66e4122 commit 211c353
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions aio/content/guide/test-debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ Debug specs in the browser in the same way that you debug an application.
1. Reveal the Karma browser window.
See [Set up testing](guide/testing#set-up-testing) if you need help with this step.

1. Click the **DEBUG** button; it opens a new browser tab and re-runs the tests.
1. Open the browser's "Developer Tools" \(`Ctrl-Shift-I` on Windows; `Command-Option-I` in macOS\).
1. Pick the "sources" section.
1. Open the `1st.spec.ts` test file \(Control/Command-P, then start typing the name of the file\).
1. Set a breakpoint in the test.
1. Refresh the browser, and it stops at the breakpoint.
1. Click the **DEBUG** button to open a new browser tab and re-run the tests.
2. Open the browser's **Developer Tools**. On Windows, press `Ctrl-Shift-I`. On macOS, press `Command-Option-I`.
3. Pick the **Sources** section.
4. Press `Control/Command-P`, and then start typing the name of your test file to open it.
5. Set a breakpoint in the test.
6. Refresh the browser, and notice how it stops at the breakpoint.

<div class="lightbox">

Expand Down

0 comments on commit 211c353

Please sign in to comment.