console.debug is not working in Chrome

2

I am using the 58.0.3029.110 (64-bit) version of the browser (the last available here when creating this question), and when trying to execute the following code:

console.debug("Teste", 1);

The result is only:

undefined

And nothing is printed on the screen.

Chrome:

Thesamecodeworksnormallyinotherbrowsers.

Firefox:

IE:

    
asked by anonymous 11.05.2017 / 16:39

2 answers

6

In the latest version of Chrome, some changes have been made to the console's filters.

Now it has a combo with the log level options, by default it comes as Info , which hides any log created by calls to console.debug() , to view these logs only need to change the level to Verbose .

    
11.05.2017 / 19:11
2

Use console.log . console.debug is an alias of console.log .

a>

    
11.05.2017 / 18:09