lib/utils.js
function debug (gt) {
  var args = arrayify(arguments);
  args.splice(0, 1); // Pop first `gt` argument
  if (gt.get('debug'))
    console.log.apply(console, ['GhostTrain debug: '].concat(args));
}
function debug (gt) {
  var args = arrayify(arguments);
  args.splice(0, 1); // Pop first `gt` argument
  if (gt.get('debug'))
    console.log.apply(console, ['GhostTrain debug: '].concat(args));
}
function debug ( gt ) { var args = arrayify ( arguments ) ; args . splice ( 0 , 1 ) ; // Pop first `gt` argument if ( gt . get ( 'debug' ) ) console . log . apply ( console , [ 'GhostTrain debug: ' ] . concat ( args ) ) ; }
Prints out debugging to console if `ghosttrain.get('debug')` is true

@param {GhostTrain} gt
@param {String} out
Prints out debugging to console if ghosttrain . get ( debug ) is true