Wrapper function for console.debug

IE10 fails on calling 'console.debug', because IE10 has console but has not console.debug.