blob: fcc63e51bb5eba8a8d17d2eabafbb825257bb2e8 [file] [log] [blame]
// viewing-logs-for-typescript
[id="enabling-the-label-switched-protocol-lsp-tracing_{context}"]
= Enabling the label switched protocol (LSP) tracing
.Procedure
. To enable the tracing of messages sent to the Typescript (TS) server, in the *Preferences* view, set the `typescript.tsserver.trace` attribute to `verbose`. Use this to diagnose the TS server issues.
. To enable logging of the TS server to a file, set the `typescript.tsserver.log` attribute to `verbose`. Use this log to diagnose the TS server issues. The log contains the file paths.