1
0
mirror of https://github.com/golang/go synced 2024-10-01 07:38:32 -06:00
go/internal/lsp/debug
Rob Findley 98c82cf1f4 internal/lsp: add server instance to debug info
When debugging multiple instances of gopls simultaneously, it is useful
to be able to inspect stateful debugging information for each server
instance, such as the location of logfiles and server startup
information.

This CL adds an additional section to the /info http handler, that
formats additional information related to the gopls instance handling
the request.

Updates golang/go#34111

Change-Id: I6cb8073800ce52b0645f1898461a19e1ac980d2b
Reviewed-on: https://go-review.googlesource.com/c/tools/+/214803
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2020-01-15 14:58:21 +00:00
..
info.1.11.go internal/lsp/debug: add newlines to debug messages 2019-06-12 17:36:44 +00:00
info.1.12.go internal/lsp/debug: add newlines to debug messages 2019-06-12 17:36:44 +00:00
info.go internal/lsp: add server instance to debug info 2020-01-15 14:58:21 +00:00
metrics.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
rpc.go internal/lsp: address staticcheck warnings 2019-10-04 02:16:23 +00:00
serve.go internal/lsp: add server instance to debug info 2020-01-15 14:58:21 +00:00
trace.go internal/telemetry: add the ability to flush telemetry data 2019-08-21 16:29:56 +00:00