Handle missing console.debug() function in Internet Explorer 10

IE 10 console object is defined, however, there is no function console.debug(). In this case the logging function will be bound to the default console.log(). This must be done using the boundToConsole() function or IE will produces a " Invalid calling object" error.