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

In WSL, use localhost for Python debug adapter host #2650

Merged
merged 2 commits into from
Jan 20, 2021
Merged

Conversation

bwateratmsft
Copy link
Collaborator

Fixes #2641

@bwateratmsft bwateratmsft requested a review from a team as a code owner January 20, 2021 14:15
// we use 'host.docker.internal' in the launcher to get the host's ip address.
if (!isLinux()) {
if (!isLinux() || getVSCodeRemoteInfo(context.actionContext).remoteKind === RemoteKind.wsl) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, didn't know we already had that info available 👍

@bwateratmsft bwateratmsft merged commit 1542c8f into main Jan 20, 2021
@bwateratmsft bwateratmsft deleted the bmw/pybug branch January 20, 2021 17:48
Dmarch28 pushed a commit to Dmarch28/vscode-docker that referenced this pull request Mar 4, 2021
@microsoft microsoft locked and limited conversation to collaborators Oct 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Debugger is not started correctly when debugging containerized Python app in WSL
2 participants