Chrome’s JavaScript debugger lets you step through your code line by line and see the value of different variables.

In this article we’ll take a look at how you can debug JavaScript with Chrome DevTools and look at some advanced breakpoint functionality.

How to open the debugger and set a breakpoint

You can find the JavaScript debugger in the Sources tab of Chrome DevTools. Right-click the page and select Inspect to open the developer tools.

Then switch to the Sources tab and open the navigator sidebar. Here you can open the JavaScript file you want to debug and view its content.

Once the code is displayed you …

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help