   subscriptions: null
 
   config:
+    EnableStatusbarButtons:
+      title: "Enable buttons on status bar"
+      type: 'boolean'
+      default: true
+      description: "Enable buttons on status bar"
     GutterBreakpointToggle:
       title: "Enable breakpoint markers in the gutter"
       type: 'boolean'

    @subscriptions.add atom.commands.add 'atom-workspace', 'php-debug:toggleBreakpoint': => @toggleBreakpoint()
    @subscriptions.add atom.commands.add 'atom-workspace', 'php-debug:breakpointSettings': => @breakpointSettings()
    @subscriptions.add atom.commands.add 'atom-workspace', 'php-debug:toggleDebugging': => @toggleDebugging()
    @subscriptions.add atom.commands.add 'atom-workspace', 'php-debug:addWatch': => @addWatch()
    @subscriptions.add atom.commands.add 'atom-workspace', 'php-debug:run': => @run()
    @subscriptions.add atom.commands.add 'atom-workspace', 'php-debug:stepOver': => @stepOver()

      @getUnifiedView().setConnected(true)

  consumeStatusBar: (statusBar) ->
    atom.config.observe "php-debug.EnableStatusbarButtons", (enable) =>
      if enable
        @debugView = new PhpDebugDebugView(statusBar, this)
        @consoleStatusView = new PhpDebugConsoleStatusView(statusBar, this)
      else
        @consoleStatusView?.destroy?()
        @consoleStatusView = null
        @debugView?.destroy?()
        @debugView = null


  getUnifiedView: ->
