Chrome: console.log, console.debug are not working

前端 未结 20 886
别那么骄傲
别那么骄傲 2020-11-29 02:52

Console.log and debug not printing, only return undefined. Why it can be? I\'ve tried to re-install chrome, but it doesn\'t help.

Here is screenshot from chrome\'s m

相关标签:
20条回答
  • 2020-11-29 03:45

    Same issue, but I just cleared my settings. I went into Settings > Preferences and Clicked [Restore defaults and reload]. Just remember what your settings were.

    0 讨论(0)
  • 2020-11-29 03:46

    There could also be some filters applied to the console. Remove them.

    0 讨论(0)
  • 2020-11-29 03:47

    Selecting verbose fixed it for me

    0 讨论(0)
  • 2020-11-29 03:49

    Click “Default levels” and make sure that "Info" is checked. By default it is only set to show Errors and Warnings

    I came here with the same problem :/

    0 讨论(0)
  • 2020-11-29 03:49

    If you are seeing(3 messages are hidden by filters. Show all messages.) then click on show all message link in Chrome dev tool console.

    Because if this option enabled by mistake the console.log("") message will show but this will in in hidden state.

    0 讨论(0)
  • 2020-11-29 03:54

    Make sure that the "Filter" input is left blank and nothing is written intentionally or by mistake. That was it in my case :P

    0 讨论(0)
提交回复
热议问题