       success: @_success
       error: @_error
       xhr: hackedXHR
-
       complete: (jqXhr) =>
+        console?.log "XHR complete", arguments
         # Get the last sequence from the server if specified.
         if jqXhr.status == 200
           @_lastMessageSequence = jqXhr.getResponseHeader(@messageSequenceHeader)
           if @_lastMessageSequence == null
             console?.log 'ERROR: Unable to get last message sequnce from header'
+    console?.log "_request END"
 
   stop: =>
     @_stopRequestLoop = true
 
   _success: (data, status, jqXhr) =>
+    console?.log "_success", arguments
     # TODO we actually want to do this when the thing calls out... mmm right now it takes
     # up to 30s before we can call this thing.
     # Call the 'connected' callback if the connection succeeds.

    data.last_message_sequence = @_lastMessageSequence
    # TODO: Some of these options will be deprecated in jQurey 1.8
    #       See: http://api.jquery.com/jQuery.ajax/#jqXHR

    $.ajax @config.longPoll.url,
      crossDomain: true
      data: data

  # We need this custom handler to have the connection status
  # properly displayed
  _error: (jqXhr, status, error) =>
    console?.log "_error", arguments
    @_isConnected = false
    @config.disconnected()

