Until recently I've used console.log extensively in Electron, both from code and monitoring results in the Developer Tools console, and also by typing console.log("something or other")
directly in the Developer Tools console.
All of a sudden it's no longer working. Nothing happens when running console.log() from a JS script, and if I type console.log("test") in the Developer Tools console the response is "undefined". console.log by itself (no parentheses) shows ƒ (){}
as opposed to function log() {[native code]}
, which perhaps explains the lack of functionality?
Trying to figure out how that might have happened and how to resolve it -- did I accidentally click on some preference or setting somewhere? Quite the PITA to lose that.