docs: function debug(name) {
    if (!debug.enabled(name)) return function(){};
  
    return function(fmt){
      var curr = new Date;
      var ms = curr - (debug[name] || curr);
      debug[name] = curr;
  
      fmt = name
        + ' '
        + fmt
        + ' +' + debug.humanize(ms);
  
      // This hackery is required for IE8
      // where `console.log` doesn't have 'apply'
      window.console
        && console.log
        && Function.prototype.apply.call(console.log, console, arguments);
    }
  }