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.