1
0
mirror of https://github.com/golang/go synced 2024-10-01 13:28:37 -06:00
go/internal/lsp/lsprpc
Ian Cottrell 54cf04ef09 internal/lsp: decouple client and server debug
This uses log messages to convey information to the debug system, which
has the benefit of logging even if the debug pages are not active and
also not requiring systems to reach into the debug system or require
extra lifetime tracking Not all things are decoupled yet as there are a
couple of places (notably the handshaker) that read information out of
the debug system.

Change-Id: Iec1f81c34ab3b11b3e3d6e6eb39b98ee5ed0d849
Reviewed-on: https://go-review.googlesource.com/c/tools/+/236337
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-06-11 13:49:48 +00:00
..
autostart_default.go internal/lsp: use %w in error wrappers 2020-05-04 14:52:14 +00:00
autostart_posix.go internal/lsp: use %w in error wrappers 2020-05-04 14:52:14 +00:00
lsprpc_test.go internal/lsp: now connection shutdown works, use it 2020-06-06 01:49:04 +00:00
lsprpc.go internal/lsp: decouple client and server debug 2020-06-11 13:49:48 +00:00