code: function connect(socketURL) {
          disconnect().done(function () {
              _socket = new WebSocket(socketURL);
              _socket.onmessage = _onMessage;
              _socket.onopen = _onConnect;
              _socket.onclose = _onDisconnect;
              _socket.onerror = _onError;
          });
      }
docs: Connect to the remote debugger WebSocket at the given URL.
  Clients must listen for the `connect` event.
  @param {string} WebSocket URL