Skip to content

Help! After updating VSCode, I can no longer connect to NixOS though the WSL remote #238

Description

@nzbr

You may have noticed that with the latest update to the WSL remote extension (0.77.0), connecting to NixOS fails.
This is because Micrsoft removed the option for setting the remote connection method. Where before you could get it to connect by setting the option to something other than wslExeProxy, that is the only option available now.

There are two issues tracking possible solutions:

EDIT: As @purepani pointed out over at the Microsoft repo, for the time being, you can try to get it to work by downgrading the WSL Remote extension to the latest working version (0.76.0) either through the GUI or by running the following command:

code --install-extension ms-vscode-remote.remote-wsl@0.76.0

and making sure that you have the following setting configured in VSCode

  "remote.WSL2.connectionMethod": "wsl2VMAddress",

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions