Reputation: 3214
I've seen a lot of answers to this question but they all involve Firebug, I don't use Firebug and none of the answers were specific enough anyway, so can I view console.log in Chrome Developer tools? If so, where? (screenshot)
Upvotes: 2
Views: 501
Reputation: 175715
Yes, calls to console.log
show up in the Chrome Developer tools; the bottom half is a Javascript console, and the messages will appear there:
Upvotes: 4
Reputation: 33227
It is a console utility in Chrome too. It is pretty easy to open up Chrome Javascript Console and try it:
The Javascript Console is a tab of the Developer Tools (View -> Developer -> Developer Tools). To go directly to it:
Upvotes: 1
Reputation: 14205
Yes, console.log() messages show up in Chrome's Console.
In Chrome, I personally tend to be lazy, and just right click an element -> inspect element. Then you just switch over to the console tab and it's all gravy.
View -> Developer -> Javascript Console is the non-lazy way to do it.
Upvotes: 1
Reputation: 120318
console.log('dkdf')
just outputs a line on whatever developer console you are using. Could be firebug or webkit developer tools. I don't think it's supported on IE.
To see it, on my mac i do command+option+i. Or go to the wrench in the upper right, then tools, then developer tools.
Upvotes: 1