Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Chrome's Javascript console keyboard shortcuts

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).

like image 701
Robert Koritnik Avatar asked Sep 17 '09 08:09

Robert Koritnik


People also ask

How do I open JavaScript in Chrome console?

Open Chrome, press Ctrl+Shift+j and it opens the JavaScript console where you can write and test your code.

What is the shortcut to open console in Chrome?

Chrome. To open the developer console window on Chrome, use the keyboard shortcut Ctrl Shift J (on Windows) or Ctrl Option J (on Mac). Alternatively, you can use the Chrome menu in the browser window, select the option "More Tools," and then select "Developer Tools."

How do I open Chrome console without F12?

Chrome. Step 1: To open the console in Chrome, use this keyboard shortcut: Cmd + Option + J (on a Mac) or Ctrl +Shift +J (on Windows). As an alternative, you can right-click on the webpage and click "Inspect" to open the developer console. Step 2: Click the "Console" tab in that window.


2 Answers

F8 - Run

F10 - Step over

F11 - Step into

Works for me

like image 143
Christopher Tokar Avatar answered Sep 20 '22 06:09

Christopher Tokar


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 ?.enter image description here

Edit: To get list of shortcuts, press Shift + ? when you are in other than 'console' tab, like 'Elements' or 'Resources'

like image 23
yurilo Avatar answered Sep 17 '22 06:09

yurilo