function writeMessage(message) {
    /*
      If the user has flagged AmplitudeJS to debug, we print out a message
      to the console.
    */
    if (_config2.default.debug) {
      console.log(message);
    }
  }
Writes out debug message to the console if enabled.

Public Accessor: Debug.writeMessage( message )

@access public
@param {string} message - The string that gets printed to alert the user of a debugging error.