function setDebug(state) {
    /*
    Sets the global config debug on or off.
    */
    _config2.default.debug = state;
  }
Allows the user to turn on debugging.

Public Accessor: Amplitude.setDebug( bool );

@access public
@param {boolean} state 		- Turns debugging on and off.