AppDrag Support Center

How to Debug JS Code on a Page (Chrome)

First open the developer tools:

Windows: CTRL-SHIFT-J OR F12
Mac: ⌥-⌘-J

Go to the sources tab (if nothing appears, keep the developer tools open and reload the page).

By clicking on the line number, you can enable or disable breakpoints. When your code reaches that point, it'll stop there so you can monitor what happens, step-by-step.

You can also write code inside the console to try your code and check your variables' values.

Other articles

Need More Help?

FAQ

If we've been asked before, it's in our Frequently Asked Questions!

Open FAQ

CHAT

Chat directly with the AppDrag team!

Open WebChat

Certified Partners

Not enough time to build your site? Find a Certified Partner to help you!

More Info