How to use the JS debugger keyword to debug your code

The Green line tells us what line JavaScript is currently on. It has ran everything above that line aswell.
When you click on the ‘29’ on line 29 it will place a blue marker on that line shown above
When you click the + you can type the name of the variable and hit enter. It will auto fill the value for you.

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

JavaScript Interview Questions — Objects

Changing HTML Class in Svelte Components with the Class Directive

TypeScript Best Practices — Interfaces vs Type Aliases and Unnecessary Syntax

This Week in L2Code: Execution Stack

Useful JavaScript Tips — Time and Numbers

Chapter 7: Observable transformers operators

Reducing Headaches with Some JavaScript Best Practices

React Bootstrap — Form State and Validation, and Input Groups

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
welly

welly

More from Medium

How to use node version manager in Windows ?

Advanced JavaScript Concepts 1: Lexical Scope

What is NodeJS?

Which JS Framework Your Project Requires: Angular vs. React 2022