-
-
Notifications
You must be signed in to change notification settings - Fork 594
Collecting LSP log
Pine edited this page Aug 26, 2020
·
1 revision
Each language server has a setting <ID>.trace.server
. With it, you can see the exact messages exchanged in the LSP protocol.
This info can help the maintainer debug your issue.
Here's how to collect it:
-
Set "vetur.trace.server": "verbose".
-
Open Panel -> Output -> Vue Language Server. You should already see a lot of messages like this:
[Trace - 12:13:53 PM] Received notification 'textDocument/publishDiagnostics'. Params: { "uri": "file:///Users/pine/Code/mine/vetur/veturpack/src/Test.vue", "diagnostics": [] }
-
Click the
Clear Output
icon (next to the Output Channel picker and the lock icon). -
Perform the minimal action to reproduce your issue. For example, trigger a completion.
-
Attach the complete log of Vue Language Server channel to the issue.