code: function(slideout, serviceRegistry, commandRegistry, preferences) {
  		mSlideout.SlideoutViewMode.call(this, slideout);
  
          this._serviceRegistry = serviceRegistry;
          this._commandRegistry = commandRegistry;
          this._preferences = preferences;
  
          this._domWrapper = document.createElement('div');
          this._domWrapper.classList.add('debugPaneWrapper');
  
          /** @type {orion.debug.DebugSocket} */
          this._current = null;
  
          /**
           * A map from debug socket ID to a debug pane
           * @type {Object.<string, orion.debug.DebugPane>}
           */
          this._panes = {};
      }
docs: A wrapper for Debug UIs.
  @class {orion.debug.DebugSlideoutViewMode}
  @extends {orion.webui.SlideoutViewMode}
  
  @param {orion.webui.Slideout} slideout
  @param {orion.serviceregistry.ServiceRegistry} serviceRegistry
  @param {orion.commandregistry.CommandRegistry} commandRegistry
  @param {orion.preferences.PreferencesService} preferences