WSL Connection in code doesn't resolve PATH variable properly #216554
Closed
Description
opened on Jun 18, 2024
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:
- Connect to WSL Ubuntu LTS 23.4.3 in code using remote WSL Targets.
- 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
- That script runs normal if run from plane terminal without using code.
- The bug is from WSL extension I guess, initially able to bisect but it later not able to bisect this extension for some reason.
- WSL extension is also from microsoft.com.
Activity