Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Improve Debugging Instructions for TypeScript Language Services #328

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant