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

WSL Connection in code doesn't resolve PATH variable properly #216554

Open
cipherswami opened this issue Jun 18, 2024 · 0 comments
Open

WSL Connection in code doesn't resolve PATH variable properly #216554

cipherswami opened this issue Jun 18, 2024 · 0 comments
Assignees

Comments

@cipherswami
Copy link

Does this issue occur when all extensions are disabled?: No

VS CodeVersion: 1.90.1 (user setup)
Commit: 611f9bf
Date: 2024-06-11T21:01:24.262Z
Electron: 29.4.0
ElectronBuildId: 9593362
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22631

Steps to Reproduce:

  1. Connect to WSL Ubuntu LTS 23.4.3 in code using remote WSL Targets.
  2. In terminal you wont be able see "/snap/bin" in path variable even though it is being loaded by /etc/profile.d/apps-bin-path.sh
  3. That script runs normal if run from plane terminal without using code.
  4. The bug is from WSL extension I guess, initially able to bisect but it later not able to bisect this extension for some reason.
  5. WSL extension is also from microsoft.com.
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

No branches or pull requests

3 participants