Learning outcomes
- Explain how to use breakpoints and variable inspection.
- Complete the guided activity safely.
- Check that you can observe program state.
Learn to use breakpoints and variable inspection and observe program state in this beginner-friendly Visual Studio Code lesson.
Use a non-sensitive practice folder, inspect unfamiliar code before trusting it, and never place passwords, tokens or private information in project files.
Pause a small JavaScript function. The expected result is to observe program state.