microsoft / microsoft/TypeScript
Add TS Server API for mapping TS file to output file
Open
@sheetalkamat is already working on this.
Since Jun 6, 2020.
Committed
Suggestion
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
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 https://github.com/microsoft/vscode/issues/95544#issuecomment-628577083 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.