console.log退出在Chrome中工作 [英] console.log quit working in Chrome

查看:142
本文介绍了console.log退出在Chrome中工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不太确定它何时开始发生,大概是最后一周左右,但Chrome似乎不再打印我的console.log语句。我在控制台上添加了一个屏幕截图,其中输入了console.log('hello world'),并且它只是打印未定义的。这发生在我的Mac上,Chrome版本29.0.1547.65。在我的Windows机器(Chrome版本29.01547.66 m)上完全相同的测试产生输出

  hello world 
undefined

我不相信我打开了任何过滤功能,一周前。感谢您的任何建议。


解决方案

点击漏斗并确保您有 Logging 被检查


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

这篇关于console.log退出在Chrome中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆