When doing front-end dev, I set breakpoints in Chrome all the time. Here’s the quickest way to set a JavaScript breakpoint in Chrome:
- F12 if dev tools aren’t already open.
- Ctrl+O and begin to type the name of the desired JavaScript file. Intellisense support will help you out here. By the way, this also works for quickly opening css files.
- Ctrl+G to go to line
- You’re now on the right line in the JavaScript source. Hit Ctrl+B to set the breakpoint.
Bam.
Awesome tip, especially the ctrl-O to go to files. Thanks!