开发者

Are there keyboard shortcuts for the Safari debugger?

Firebug and eclipse both let me step through code using function keys. Does Safari have equivalent 开发者_StackOverflow中文版capabilities?


The Scripts Debugger was updated to support some popular keyboard shortcuts:

  • Continue — F8 or Command-/ on a Mac or Control-/ on other platforms.
  • Step Over — F10 or Command- on a Mac or Control- on other platforms.
  • Step Into — F11 or Command-; on a Mac or Control-; on other platforms.
  • Step Out — Shift-F11 or Shift-Command-; on a Mac or Shift-Control-; on other platforms.
  • Next Call Frame — Control-. on all platforms.
  • Previous Call Frame — Control-, on all platforms.
  • Evaluate Selection When on a Breakpoint — Shift-Command-E on a Mac or Shift-Control-E on other platforms.

Credit goes to: http://webkit.org/blog/829/web-inspector-updates/


F1 in the Web Inspector shows a help screen with all the keys. (Safari version 5.1.2)


You can also use ⌃⌘Y or ⌘\ to pause the Safari JS debugger when the Debugger tab is active.

Are there keyboard shortcuts for the Safari debugger?


In my case is different, I'm using Safari 13 on macOS (Catalina)

  • F6 - Step over
  • F7 - Step into
  • F8 - Step out

I found these from here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜