开发者

Google Chrome JavaScript Debugger keybindings?

开发者 https://www.devze.com 2023-03-20 20:47 出处:网络
I am using Chrome\'s JavaScript debugger to work on my code, but I am fi开发者_Go百科nding it very inconvenient to constantly move my mouse over to the Go, Step Over and Step In buttons. I find it muc

I am using Chrome's JavaScript debugger to work on my code, but I am fi开发者_Go百科nding it very inconvenient to constantly move my mouse over to the Go, Step Over and Step In buttons. I find it much easier to hit a function key, like I would in Visual Studio or most graphical debuggers really, do perform those actions.

I can not find any documentation to suggest that such keybindings are available, but I can scarcely believe that such crucial functionality would be over-looked by the Chromium team.

Can anyone offer any help or insight?


If you press F1 while in the debugger, you can see a list of shortcuts.

Examples:
- F8 or <Ctrl>+/ : Continue
- F10 or <Ctrl>+' : Step over
- F11 or <Ctrl>+; : Step into
- <Shift>+F11 or <Ctrl>+<Shift>+; : Step out
- <Ctrl>+G : Go to Line


I believe this is what you are looking for http://trac.webkit.org/wiki/WebInspector


Ctrl + Shift + J for Javascript debugger. Is that the tool you are looking for? Very handy :)

ohh, and for step functions, F10 for step over, F11 is step into. Same as the VS keys, except F5 refreshes the page.

0

精彩评论

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