code: function createDebugEventBus( configuration ) {
     const ensure = key => {
        assert.state( key in configuration );
        return configuration[ key ];
     };
     const nextTick = window.nextTick ? window.nextTick : f => window.setTimeout( f, 0 );
     const setTimeout = window.setTimeout;
     const errorHandler = createLogErrorHandler( {
        error( message, optionalErrorInformation ) {
           window.console.error( `DebugEventBus: ${message}`, optionalErrorInformation );
        }
     } );
  
     return createEventBus( { ensure }, nextTick, setTimeout, errorHandler );
  }
docs: //////////////////////////////////////////////////////////////////////////////////////////////////////////// 
  Create a new debug event bus with the given configuration.
  
  @param {Object} configuration
  a plain object with at least a `eventBusTimeoutMs` property
  
  @return {EventBus}
  a new event bus instance
  
  @private