go/internal/lsp/debug
Rebecca Stambler 6fc5d0bc36 internal/lsp: print view-specific environment
For debugging purposes, we print the output of `go env` on start. Now,
we print a view-specific `go env`, which will helps us when debugging
multi-project workspaces. Additional information included: the folder of
the view, if the view has a valid build configuration, and the build
flags for the view.

Updates golang/go#37978

Change-Id: Iadffd46f8ac5410971558a304b8bbcb2f9bdbcc3
Reviewed-on: https://go-review.googlesource.com/c/tools/+/225137
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2020-03-24 20:15:47 +00:00
..
tag internal/telemetry: switch metrics to use the event system 2020-03-23 14:44:30 +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: print view-specific environment 2020-03-24 20:15:47 +00:00
metrics.go internal/telemetry: switch metrics to use the event system 2020-03-23 14:44:30 +00:00
rpc.go internal/telemetry: switch metrics to use the event system 2020-03-23 14:44:30 +00:00
serve.go internal/lsp: print view-specific environment 2020-03-24 20:15:47 +00:00
serve_test.go internal/lsp/debug: move all debug state onto the Instance 2020-02-24 22:50:47 +00:00
trace.go internal/telemetry: replace event.TagList with event.TagSet 2020-03-23 14:43:48 +00:00