Console.log messages not showing up in Chrome's javascript console?

前端 未结 9 1713
无人共我
无人共我 2020-12-09 01:47

I am logging using the jQuery.log plugin (which logs to console.log if available) and I am not seeing any of the logging messages appear in the Chrome JavaScript console.

相关标签:
9条回答
  • 2020-12-09 01:57

    I just found out logging was disabled from my filters.

    filters with logging

    0 讨论(0)
  • 2020-12-09 02:01

    I have this error by have obfuscated javascript code, deobfuscate and console.log work again)

    0 讨论(0)
  • 2020-12-09 02:04

    For me, it was because the script was being cached and the browser was not loading my latest version.

    Try Ctrl+F5 to reload your page.

    0 讨论(0)
  • 2020-12-09 02:06

    I've just had the same problem and found this question when trying to find an answer.

    What fixed this for me was disabling firebug lite in chrome. It was swallowing all console messages.

    0 讨论(0)
  • 2020-12-09 02:07

    Resetting default setting works for me. While in the console tab, pressingF1 should open the setting page. There you will different settings that you can adjust including the button Restore defaults and reload.

    0 讨论(0)
  • 2020-12-09 02:08

    Make sure you have the console showing and that it is showing "All".

    The cursor is on the button to hide/show the console.


    Update: In newer versions of Chrome, you need to click the filter icon, then make sure "All" is selected.

    console filter

    0 讨论(0)
自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题