How about just changing it to `WYMeditor.console.debug` then?