Skip to content

Improve Debugging Instructions for TypeScript Language Services #328

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thehale
Copy link

@thehale thehale commented Mar 27, 2024

The steps for attaching a debugger for a TypeScript language service have changed slightly since the docs were last updated.

This commit changes the no-longer-existent --user-data-dir option for the newer --profile.

This commit also adds instructions for attaching a debugger when VS Code runs in a remote host like WSL (figured out by reviewing the implementation in https://github.com/microsoft/vscode/blob/a83b5818f35ffa35a089a189a84bb2d62ceea81c/extensions/typescript-language-features/src/tsServer/serverProcess.electron.ts#L183-L189)

The steps for attaching a debugger for a TypeScript language service have changed slightly since the docs were last updated.

This commit changes the no-longer-existent `--user-data-dir` option for the newer `--profile`.

This commit also adds instructions for attaching a debugger when VS Code runs in a remote host like WSL (figured out by reviewing the implementation in https://github.com/microsoft/vscode/blob/a83b5818f35ffa35a089a189a84bb2d62ceea81c/extensions/typescript-language-features/src/tsServer/serverProcess.electron.ts#L183-L189)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant