8000 Merge pull request #171 from davidnth/patch-1 · d2038/javascript-exercises@79cce37 · GitHub
[go: up one dir, main page]

Skip to content

Commit 79cce37

Browse files
authored
Merge pull request TheOdinProject#171 from davidnth/patch-1
Update README.md
2 parents 0ba7dda + 7f59397 commit 79cce37

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ Each exercise includes 3 files: a markdown file with a description of the task,
1818

1919
The first exercise, `helloWorld`, will walk you through the process in-depth.
2020

21+
## Debugging
22+
To debug functions, you can run the tests in the Visual Studio Code debugger terminal. You can open this by clicking the "Run and Debug" icon on the left or pressing `ctrl + shift + D`, then clicking JavaScript Debug Terminal. You will be able to set breakpoints as you would in the Chrome DevTools debugger. You can run `npm test exerciseName.spec.js` to then execute your code up until your breakpoint and step through your code as necessary. **NOTE**: To take advantage of the debugger, you **MUST** run the script in the debugger terminal, not the bash or zsh terminal.
23+
2124
## Solutions
2225

2326
Solutions for these exercises can be found in this repo on the 'solutions' branch.

0 commit comments

Comments
 (0)
0