     editor = atom.workspace.getActivePane()
     editor.splitDown()
     atom.workspace.open(PhpDebugUnifiedUri)
+      .then (unifiedWindow) =>
+        @unifiedWindow = unifiedWindow
 
   toggleBreakpoint: ->
     editor = atom.workspace.getActivePaneItem()

        when PhpDebugWatchUri
          createWatchView(uri: PhpDebugWatchUri)
        when PhpDebugUnifiedUri
          @window = @createUnifiedView(uri: PhpDebugUnifiedUri, context: @GlobalContext)
    Dbgp = require './engines/dbgp/dbgp'
    @dbgp = new Dbgp(context: @GlobalContext, serverPort: atom.config.get('php-debug.ServerPort'))
    @GlobalContext.onBreak (breakpoint) =>

    marker = editor.markBufferRange(range)

  toggleDebugging: ->
    pane = atom.workspace.paneForItem(@unifiedWindow)
    if !pane
      @showWindows()
      if !@dbgp.listening()
        @dbgp.listen()
    else
      pane.destroy()
      delete @unifiedWindow
      @dbgp.close()

  run: ->
    if @GlobalContext.getCurrentDebugContext()
