     @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:toggleConsole': => @toggleConsole()
     @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()

  subscriptions: null

  config:
    GutterBreakpointToggle:
      title: "Enable breakpoint markers in the gutter"
      type: 'boolean'

      @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: ->
