diff --git a/packager/debugger.html b/packager/debugger.html index 24f8aea55..3b905efe3 100644 --- a/packager/debugger.html +++ b/packager/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})); };