Skip to content

Instantly share code, notes, and snippets.

@kateinoigakukun
Created August 30, 2021 07:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kateinoigakukun/5e131d5a5bbe4a97666ac68d5a66b86e to your computer and use it in GitHub Desktop.
Save kateinoigakukun/5e131d5a5bbe4a97666ac68d5a66b86e to your computer and use it in GitHub Desktop.

Trace Server requests/responses in VSCode

Add the following configurations in settings.json. The top level id (Ruby TypeProf) is a language client id specified as the first argument of the constructor of LanguageClient. like new LanguageClient("Ruby TypeProf", ...);

{
    "Ruby TypeProf.trace.server": {
        "verbosity": "verbose",
        "format": "Text"
    }
}

Impelemtation: https://github.com/microsoft/vscode-languageserver-node/blob/0cb3812e7d540ef3a904e96df795bc37a21de9b0/client/src/common/client.ts#L3534-L3554

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment