I'm not exactly sure when it started happening, roughly the last week or so, but Chrome no longer seems to print my console.log statements. I've included a screenshot where on the console I type console.log('hello world'), and it simply prints undefined. This is occuring on my Mac, Chrome Version 29.0.1547.65. This exact same test on my Windows machine (Chrome version 29.01547.66 m) produces the output
hello world
undefined
I don't believe I have any filtering turned on or am doing anything differently than I was roughly a week ago. Thanks for any suggestions in advance.
click in the funnel and make sure you have Logging
checked
In my case the problem was Firebug Lite, which I thought I wasn't using at the moment (it was collapsed).
Open Firebug Lite and check off "Override Console Object".
Then the native Chrome console will receive messages again, and Firebug's console won't (like it couldn't print on both at the same time; go figure).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.