Enabling the label switched protocol (LSP) tracing
-
To enable the tracing of messages sent to the Typescript (TS) server, in the Preferences view, set the
typescript.tsserver.traceattribute toverbose. Use this to diagnose the TS server issues. -
To enable logging of the TS server to a file, set the
typescript.tsserver.logattribute toverbose. Use this log to diagnose the TS server issues. The log contains the file paths.
Viewing the Typescript language server log
This section describes how to view the Typescript language server log.
-
To get the path to the log file, see the Typescript Output console:
-
To open log file, use the Open TS Server log command.
Viewing the Typescript logs output in the Output panel
This section describes how to view the Typescript logs output in the Output panel.
-
Navigate to the Output view
-
Select TypeScript in the drop-down list.