问题
I would like to debug my javascript application using Google Chrome 3's developer tools. Everything fine and ok, until I actually want to start debugging. I can set breakpoints etc., but I don't want to debug using a mouse but using keyboard.
In Firefox + Firebug I can use F10, F11 and F8 for stepping over, into and run debugged script.
Are there any keyboard shortcuts in Google Chrome's Javascript console window?
System configuration (if relevant):
- Windows Server 2008 R2 (would probably work the same in Windows 7)
- Google Chrome 3.0.195.21
Edit
I investigated this issue even further and it turns out to be some sort of a bug, because when I restart Chrome, F8, F10 and F11 work as expected (same as Firebug).
回答1:
F8 - Run
F10 - Step over
F11 - Step into
Works for me
回答2:
To see the full list of shortcuts for the currently installed version: in chrome open the Developer Tools Ctrl+Shift+I and then open shortcut help ?.

Edit: To get list of shortcuts, press Shift + ? when you are in other than 'console' tab, like 'Elements' or 'Resources'
回答3:
In addition to Chris Tek's answer:
Shift + F11 - Step Out Of
回答4:
Here is the full list of shortcuts for the latest version of Chrome Developer Tools:
http://code.google.com/chrome/devtools/docs/shortcuts.html
回答5:
Toggle Breakpoint: Ctrl+B, pretty essential!
https://developer.chrome.com/devtools/docs/shortcuts
回答6:
A much better reference of Chrome DevTools shortcuts can be found here (https://shortcutref.com/chrome-dev-tools).
This page only shows the relevant shortcuts (level, OS, category) and has short and precise descriptions.
来源:https://stackoverflow.com/questions/1437412/google-chromes-javascript-console-keyboard-shortcuts