microsoft / microsoft/TypeScript
"Debugging Language Service in VS Code" documentation is weird
@DanielRosenwasser ci sta già lavorando.
Dal 18/10/2017.
- Lingua principale
- Go
- Stelle
- 111k
- Fork
- 14.3k
- Merge medio
- 1g 19h
- PR unite (30g)
- 117
Descrizione
The "Debugging Language Service in VS Code" wiki is vague and sometimes confusing.
Update your user settings to use your development version of typescript, located in the .../TypeScript/built/local directory. The corresponding setting/path is
{ "typescript.tsdk": "/path/to/repo/TypeScript/built/local" }
User settings are stored per folder and it's not clear which folder should be used. Both typescript and vscode have been downloaded. There have been no instructions to open either version of code yet.
Debugging tsserver (server-side)
...
2. Update launch.json with an option to attach to the node instance, with sourcemaps from your built/local folder.
Again, which launch.json is being spoken about?
- Launch an instance of development vs code, and open a ts file.
- Launch an instance of stable vs code.
- Attach the stable vs code instance to the development instance.
Wouldn't it be easier to open an instance of code, change the launch.json and then open a .ts file or attach to the other instance?
It would be helpful to list the steps in order and with more detail, perhaps with an example path so that it's clear which instance of code is being opened, which folder said instance is opening (if any) and which files are being edited.
Given that there aren't too many steps, it should be quite reasonable to list all steps for each debugging excercise.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.