code: func CallDebugRPC(ctx context.Context, client debugpb.DebugClient, req *Request) (*Response, error) {
  	resp := &Response{Type: req.Type}
  	resp.Type = req.Type
  	var err error
  	switch req.Type {
  	case CmdDebugGetRegionProperties:
  		resp.DebugGetRegionProperties, err = client.GetRegionProperties(ctx, req.DebugGetRegionProperties)
  	default:
  		return nil, errors.Errorf("invalid request type: %v", req.Type)
  	}
  	return resp, err
  }
docs: // CallDebugRPC launches a debug rpc call.