8884a8b4ad
This moves the existing `debugPrintCommunication` flag out of `test/lsp` into `test/` and passes it to the `MockServerChannel` to simplify printing protocol messages for LSP-over-Legacy tests (similar to what MockLspServerChannel already does). Change-Id: Ic5fa6309e8de01ce0c624584ad6eb653ced90698 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406021 Commit-Queue: Samuel Rawlins <srawlins@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Samuel Rawlins <srawlins@google.com>