diff --git a/debugger.html b/debugger.html index 24f8aea5..3b905efe 100644 --- a/debugger.html +++ b/debugger.html @@ -85,6 +85,10 @@ function connectToDebuggerProxy() { ws.onmessage = function(message) { var object = JSON.parse(message.data); + if (!object.method) { + return; + } + var sendReply = function(result) { ws.send(JSON.stringify({replyID: object.id, result: result})); };