 
 
     inspect: (code, cursor_pos, onResults) ->
-        console.log 'sending inspect'
+        console.log 'Kernel.inspect:', code, cursor_pos
 
         requestId = 'inspect_' + uuid.v4()
 

        @shellSocket.send new jmp.Message message

    execute: (code, onResults) ->
        requestId = 'execute_' + uuid.v4()
        @_execute(code, requestId, onResults)

    executeWatch: (code, onResults) ->
        requestId = 'watch_' + uuid.v4()
        @_execute(code, requestId, onResults)

    complete: (code, onResults) ->
        console.log 'sending completion'

        requestId = 'complete_' + uuid.v4()


    # onResults is a callback that may be called multiple times
    # as results come in from the kernel
    _execute: (code, requestId, onResults) ->
        header =
                msg_id: requestId,
                username: '',
