Console.log not working in Chrome

I'm trying to log some data from my javascript code to check if its right, but it doesn't seem to be working. Even when I type into the console:

console.log("hello");

the console just returns undefined (which is correct) but it also doesn't log the "hello". If it matters, I'm using adblock and hoverzoom as my extensions. Also, I'm on a macbook pro. Any ideas on why this doesn't work?

Answers:

Answer

Most likely, you have some JavaScript in your code that overwrites console.log for compatibility reasons (this will also affect the console of the application's tab). You can verify that by pressing F12 in this tab and checking that console.log still works fine.

Answer

make sure 'Info' is checked in custom levels drop down. enter image description here

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.