lib/odyssey/actions/debug.js
function Debug() {
  function _debug() {};

  _debug.log = function(_) {

    return Action({

      enter: function() {
        console.log("STATE =>", _, arguments);
      },

      update: function() {
        console.log("STATE (.)", _, arguments);
      },

      exit: function() {
        console.log("STATE <=", _, arguments);
      }

    });

  };

  return _debug;
}
function Debug() {
  function _debug() {};

  _debug.log = function(_) {

    return Action({

      enter: function() {
        console.log("STATE =>", _, arguments);
      },

      update: function() {
        console.log("STATE (.)", _, arguments);
      },

      exit: function() {
        console.log("STATE <=", _, arguments);
      }

    });

  };

  return _debug;
}
function Debug ( ) { function _debug ( ) { } ; _debug . log = function ( _ ) { return Action ( { enter : function ( ) { console . log ( "STATE =>" , _ , arguments ) ; } , update : function ( ) { console . log ( "STATE (.)" , _ , arguments ) ; } , exit : function ( ) { console . log ( "STATE <=" , _ , arguments ) ; } } ) ; } ; return _debug ; }
debug action prints information about current state
debug action prints information about current state