Skip to content

Improve Debugging Instructions for TypeScript Language Services#328

Open
thehale wants to merge 1 commit intomicrosoft:mainfrom
thehale:main
Open

Improve Debugging Instructions for TypeScript Language Services#328
thehale wants to merge 1 commit intomicrosoft:mainfrom
thehale:main

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.

1 participant