I noticed a strange behavior whereby my `console.log` statements weren't doing anything. I finally tracked this to an external script:
Unfortunately this script is used to run the only heatmap package for google charts (AFAIK).
Is there a way to somehow backup `console.log` and then restore it after executing their code? I tried doing a shallow backup but had no luck:
Now I'm asking someone who knows what he's doing.
Thanks in advance for your help. Where is your attempt of the "shallow backup but had no luck"? I'm sure there's an easier way of this, but you could do: var logger = console.log.bind(console); before the bad part, then use console.log = logger; to restore it maybe?