After reinstalling Chrome and opening the dev tools with F12, I encountered an error with the following code:
console.debug('test');
The error message displayed was
Uncaught ReferenceError: console is not defined(…)
This issue persisted across different websites.
It seems that console
is no longer recognized as a valid object.
Any suggestions on how to restore the console functionality?
UPDATE: Despite re-installing Chrome, the issue persist. However, installing the canary version of Chrome (which creates a separate profile) seemed to resolve the problem.
While troubleshooting a web app issue, I received advice to run delete window.console
and delete console
.
I am concerned that this may have caused further issues.