3

So I'm working on some javascript and I want to set a breakpoint on the line that I'm working on. It seems reasonable that I should be able to go into the Javascript debugger and jump to that line number without having to scroll to it manually.

I have read the documentation and have tried a few logical guesses but there doesn't appear to be a keyboard shortcut to jump to a line number. I can't believe that this would have been missed. Is there a way to jump to a line number?

2
  • I would think so, though I can't seem to find it. Chrome has it, so I assume Safari has it. Did you try Command + L?
    – daviesgeek
    Commented Aug 3, 2012 at 16:53
  • ⌘L seems to focus the location bar :(
    – saagarjha
    Commented Jan 10, 2021 at 2:34

1 Answer 1

1

The keyboard shortcut for this is G in recent versions of Safari. You can find a list of keyboard shortcuts here: https://webkit.org/web-inspector/keyboard-shortcuts/.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .