     @disposables.add @getActivePane().onDidChangeActive ->
       workspaceElement.classList.remove('paner-maximize')
 
-  getPanes: ->
-    atom.workspace.getPanes()
-
-  getActivePane: ->
-    atom.workspace.getActivePane()
-
-  getPaneInfo: (pane) ->
-    pane:      pane
-    item:      pane.getActiveItem()
-    index:     pane.getActiveItemIndex()
-    container: pane.getContainer()
-    root:      pane.getContainer().getRoot()
-    parent:    pane.getParent()
-
-  getOrientation: (direction) ->
-    if direction in ['top', 'bottom']
-      'vertical'
-    else
-      'horizontal'
+  toggleDebug: ->
+    atom.config.toggle('paner.debug')
+    state = atom.config.get('paner.debug') and "enabled" or "disabled"
+    console.log "paner: debug #{state}"
 
   # Like Vim's `ctrl-w x`, select pane within current PaneAxis.
   #

    # Revert original setting
    atom.config.set('core.destroyEmptyPanes', configDestroyEmptyPanes)

  deactivate: ->
    @disposables.dispose()

  movePane: (srcPane, dstPane) ->
    for item, i in srcPane.getItems()
      srcPane.moveItemToPane item, dstPane, i

  copyPaneAxis: (paneAxis) ->
    {container, orientation} = paneAxis
    new paneAxis.constructor({container, orientation, children: paneAxis.getChildren()})

  # [FIXME]
  # Occasionally blank pane, remain on original pane position.
