When using Google Chrome, I want to debug some JavaScript code. How can I do that?
For Mac users, go to Google Chrome --> menu View --> Developer --> JavaScript Console.
Windows: CTRL-SHIFT-J OR F12
Mac: ⌥-⌘-J
Also available through the wrench menu (Tools > JavaScript Console):
To open the dedicated ‘Console’ panel, either:
press
the ‘Console’ tab.Please refer here