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

前端 未结 9 1784
无人共我
无人共我 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 02:14

    I am not sure if this is the case, but if you are using firebug with chrome, you have to turn firebug off in order for console.log() to work in Developer Tools.

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

    When playing around with example Chrome Extensions, I was often unable to see the console.log messages when looking at console (ctrl+shift+j). But then I realized, that I was in the wrong place.

    Wrench -> Tools -> Extensions and then click on the appropriate link under "Inspect active views". (in the Chrome examples it is often background.html) This should bring up the console that you are looking for.

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

    On my computer I had accidently clicked the Debug filter. This made my log messages hidden. Here's how it was before (hidden messages): Chrome log not showing messages

    Here's how it was after the change (working messages): enter image description here

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