0

I use the Chrome DevTools to edit my large JavaScript file.

Is there a way to set Bookmarks in the code like in Visual Studio (see the hotkeys on https://stackoverflow.com/a/926065 or even better https://stackoverflow.com/a/38419034)?

Codr
  • 368
  • 3
  • 12

1 Answers1

4

Interesting! No, DevTools doesn't have official support for this one. I filed a feature request: https://crbug.com/963682

Update

We don't have official support for this feature, but there is a workaround.

  1. Use a line-of-code breakpoint as your "bookmark".

  2. Disable that breakpoint from the Breakpoints pane.

  3. Click the preview to jump to that line of code.

bookmarks

P.S. I tweeted this workaround idea. Thank you for the inspiration.

Kayce Basques
  • 23,849
  • 11
  • 86
  • 120