@Override
      public void write(org.apache.thrift.protocol.TProtocol oprot, connectToDebugger_args struct) throws org.apache.thrift.TException {
        struct.validate();

        oprot.writeStructBegin(STRUCT_DESC);
        oprot.writeFieldBegin(LOCAL_PORT_FIELD_DESC);
        oprot.writeI32(struct.localPort);
        oprot.writeFieldEnd();
        if (struct.host != null) {
          oprot.writeFieldBegin(HOST_FIELD_DESC);
          oprot.writeString(struct.host);
          oprot.writeFieldEnd();
        }
        if (struct.opts != null) {
          oprot.writeFieldBegin(OPTS_FIELD_DESC);
          {
            oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.BOOL, struct.opts.size()));
            for (java.util.Map.Entry<java.lang.String, java.lang.Boolean> _iter72 : struct.opts.entrySet())
            {
              oprot.writeString(_iter72.getKey());
              oprot.writeBool(_iter72.getValue());
            }
            oprot.writeMapEnd();
          }
          oprot.writeFieldEnd();
        }
        if (struct.extraEnvs != null) {
          oprot.writeFieldBegin(EXTRA_ENVS_FIELD_DESC);
          {
            oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.extraEnvs.size()));
            for (java.util.Map.Entry<java.lang.String, java.lang.String> _iter73 : struct.extraEnvs.entrySet())
            {
              oprot.writeString(_iter73.getKey());
              oprot.writeString(_iter73.getValue());
            }
            oprot.writeMapEnd();
          }
          oprot.writeFieldEnd();
        }
        oprot.writeFieldStop();
        oprot.writeStructEnd();
      }
@Override
      public void write(org.apache.thrift.protocol.TProtocol oprot, connectToDebugger_args struct)