go/internal/lsp/debug
Peter Weinbergr 1a2739ce1b internal/lsp: get debug pages limping along again
Changes to the cache data structure broke the templates displaying
information in the debug server. This CL makes small changes to
get the pages working again. it adds  a link to the command line
on the Info page.

More work is needed. For instance, only the memory page refreshes
automatically; options could be displayed; information
about diagnostics could be displayed, as could be information
about modules, and no doubt there's more.

I'm working on a test to typecheck the templates.

Fixes golang/go#41343

Change-Id: I98538a8673de1a9589d09660eab47ad04eb2cc14
Reviewed-on: https://go-review.googlesource.com/c/tools/+/270099
Run-TryBot: Peter Weinberger <pjw@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Trust: Peter Weinberger <pjw@google.com>
2020-11-16 16:55:47 +00:00
..
tag internal/lsp: decouple client and server debug 2020-06-11 13:49:48 +00:00
info.go internal/lsp: get debug pages limping along again 2020-11-16 16:55:47 +00:00
metrics.go internal/event: move event/core.Tag to event/label.Label 2020-04-23 18:13:33 +00:00
rpc.go internal/event: remove the event.eventType type 2020-04-27 15:30:19 +00:00
serve.go internal/lsp: get debug pages limping along again 2020-11-16 16:55:47 +00:00
trace.go internal/event: remove the event.eventType type 2020-04-27 15:30:19 +00:00