In a project, console.log
is disabled. Firefox tells me it is disabled but I do not now where in the code and I do not want to look.
Is there a way for me to force enable console.log around my code?
In a project, console.log
is disabled. Firefox tells me it is disabled but I do not now where in the code and I do not want to look.
Is there a way for me to force enable console.log around my code?
If console.log() is disabled with redefined function like
console.log = function() {}
You can try to delete it and browser will restore the default console.log
delete console.log
As far as I know it is not possible to make "Firefox tells me it is disabled".
It is possible that someone replaced native browser "console.log" implementation.
To check what object is being referenced by "console.log" you should simply type it in Firebug console and check out the result.
By default it should print "function()".