Skip to content

Add TS Server API for mapping TS file to output file #38578

Open
@mjbvz

Description

@mjbvz

Search Terms

  • Debug / debugger
  • compile
  • tsserver

Problem

VS Code would like to make it easy to debug the active TS file just by pressing F5. To implement this, we need a way to map from a TypeScript file to its JavaScript output.

See microsoft/vscode#95544 (comment) for details

Proposal

Add a new TS Server API that takes a typescript file and returns the path to the output JavaScript file for it.

Metadata

Metadata

Assignees

Labels

CommittedThe team has roadmapped this issueSuggestionAn idea for TypeScript

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions