I am overriding my console.log to work only in debug mode like this
preservedConsoleLog = console.log
console.log = () ->
preservedConsoleLog.apply(console, arguments) if MyProject.debug
This works fine but I still have one concern. While Chrome dev tools outputs the console results, it only points to the override definition I listed above.

Any ideas?
Alter it so it only alters console.log if debug isn’t enabled, like so:
And the issue should disappear.