dead code - ClientDebug, DerverDebug
commitf9f85c714db9f8e3ee1bb78186ca5b443e3de918
authorLucian Wischik <ljw@fb.com>
Thu, 15 Jul 2021 23:10:59 +0000 (15 16:10 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 15 Jul 2021 23:13:12 +0000 (15 16:13 -0700)
tree1c87f10c4c9b33cc273e6109185df1ef9c3325c5
parent44eed04c0a58facb9898f50d1d4f9d7e960a0ebd
dead code - ClientDebug, DerverDebug

Summary:
clientDebug and serverDebug are both dead code.

They were only ever used by one test (removed in the previous diff), which invoked "hh_client debug" to start the server with a side-channel. clientDebug was the hh_client side of this, and serverDebug was the server side.

Note the following:
```
type 'a command =
  | Rpc of cmd_metadata * 'a t
  | Debug_DO_NOT_USE
      (** this unused constructor is part of the binary protocol
      between client and server; removing it would alter the protocol. *)
```
To see what would happen if we did remove the now-unused constructor, see following diff D29716704.

Reviewed By: dabek

Differential Revision: D29705509

fbshipit-source-id: 2f9268c54421377793ceb610d826940ac153f1ab
hphp/hack/src/client/clientArgs.ml
hphp/hack/src/client/clientCommand.ml
hphp/hack/src/client/clientDebug.ml [deleted file]
hphp/hack/src/hh_client.ml
hphp/hack/src/server/dune
hphp/hack/src/server/serverCommand.ml
hphp/hack/src/server/serverCommandLwt.ml
hphp/hack/src/server/serverCommandLwt.mli
hphp/hack/src/server/serverCommandTypes.ml
hphp/hack/src/server/serverCommandTypesUtils.ml
hphp/hack/src/server/serverDebug.ml [deleted file]