Skip to content

Commit e2790d0

Browse files
authored
Update article.md
1 parent 99bc9bf commit e2790d0

File tree

1 file changed

+3
-3
lines changed
  • 1-js/03-code-quality/01-debugging-chrome

1 file changed

+3
-3
lines changed

1-js/03-code-quality/01-debugging-chrome/article.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ For example, here `1+2` results in `3`, and `hello("debugger")` returns nothing,
4848

4949
Let's examine what's going on within the code of the [example page](debugging/index.html). In `hello.js`, click at the line number `4`. Yes, right on the `"4"` digit, not on the code.
5050

51-
Contratulations! You've set a breakpoint. Please also click on the number for line `8`.
51+
Congratulations! You've set a breakpoint. Please also click on the number for line `8`.
5252

5353
Should look like this (blue is where you should click):
5454

5555
![](chrome-sources-breakpoint.png)
5656

5757
A *breakpoint* is a point of code where the debugger will automatically pause the JavaScript execution.
5858

59-
While the code is paused, we can examine current variables, execute commands in the console etc. In other words, to debug it.
59+
While the code is paused, we can examine current variables, execute commands in the console etc. In other words, we can debug it.
6060

6161
We can always find a list of breakpoints in the right pane. That's useful when we have many breakpoints in various files. It allows to:
6262
- Quickly jump to the breakpoint in the code (by clicking on it in the right pane).
@@ -97,7 +97,7 @@ As the breakpoint is set, the execution pauses at the 4th line:
9797

9898
![](chrome-sources-debugger-pause.png)
9999

100-
Please open the informational dropdowns to the right (labelled with arrows). They allow to examine the current code state:
100+
Please open the informational dropdowns to the right (labelled with arrows). They allow you to examine the current code state:
101101

102102
1. **`Watch` -- shows current values for any expressions.**
103103

0 commit comments

Comments
 (0)