Created
September 25, 2015 08:59
-
-
Save sghiassy/6a2766570f59d4332c22 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var ws = new DebuggerWebSocket('ws://' + window.location.host + '/debugger-proxy'); | |
| ws.onopen = function() { | |
| if (sessionID) { | |
| setStatus('Debugger session #' + sessionID + ' active.'); | |
| ws.send(JSON.stringify({replyID: parseInt(sessionID, 10)})); | |
| } else { | |
| setStatus('Waiting, press <span class="shortcut">⌘R</span> in simulator to reload and connect.'); | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment