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

前端 未结 20 1012
别那么骄傲
别那么骄傲 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:32

    I'm working on a site where some JS (or other) code is preventing console.log from working (console.log is probably overwritten). You can test this by checking if console.log works on a different page (like this one).

    I don't have time to investigate further right now so used alert("something is: "+something) to get the info I wanted from a snippet I needed to run.

提交回复
热议问题