Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
VS Code suddenly stopped connecting to my WSL2 distros. I found out my recent setting of setx WSL_UTF8 1 prevents VS Code from listing the distros and I am guessing it is because the js function VS Code uses to list distros requires UTF16 encoding. A more detailed explanation with pictures is at Stack Overflow
Extension version: 0.81.0
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2
Type: Bug
VS Code suddenly stopped connecting to my WSL2 distros. I found out my recent setting of
setx WSL_UTF8 1
prevents VS Code from listing the distros and I am guessing it is because the js function VS Code uses to list distros requires UTF16 encoding. A more detailed explanation with pictures is at Stack OverflowExtension version: 0.81.0 VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z) OS version: Windows_NT x64 10.0.19045 Modes: Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2