     @bug.removeBreakpoint({breakpointId: id})
     @breakpoints = @breakpoints.filter ({breakpointId})->breakpointId isnt id
   toggleBreakpoint: ({scriptPath, lineNumber}, done)->
-    console.log @breakpoints
     toRemove = @breakpoints.filter (bp)->
       (scriptPath is bp.locations[0].scriptPath and
       lineNumber is bp.locations[0].lineNumber)

    @updateMarkers()
    @childprocess?.kill()
    @bug?.close() # TODO: unregister handlers orelse memory leak!
    @detach()
  
  serialize: ->

      atom.workspaceView.addClass('and--paused')
      @setCurrentPause(breakInfo)
      @openPath @getCurrentPauseLocations()[0], =>
        if breaks?.length > 0
          @setBreakpoints(breaks, => @updateMarkers())
          breaks = null
