Skip to content

Add a tsserver commandline flag to enable logging #14560

Closed
@mhegazy

Description

@mhegazy

VSCode users need to collect server logs at times to help diagnose issues. The way this works today is by setting an environment variable which makes it hard to setup.

the proposal is to add --logFile and --logVerbosity to enable loggin on the server regardless of the env var; VSCode would start the server in this mode if it needs to collect logs, and it can control where the logs are stored as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: TSServerIssues related to the TSServerFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions