golang/go

x/tools/gopls: show message with link to debug server with -debug=:0

Open

#37,215 opened on Feb 13, 2020

View on GitHub
 (7 comments) (0 reactions) (0 assignees)Go (19,008 forks)batch import
NeedsFixToolsgoplshelp wanted

Repository metrics

Stars
 (133,883 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

currently we ask users to supply flags such as -port and -rpc.trace and restart gopls when debugging is needed. Please consider turning on the debug port by default and make some traces available.

  • Port number needs to be picked up randomly - so we will need a way for the client to ask gopls about the debug port location.
  • May need too allow opt-out.

Contributor guide