You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As stated in the title, there is some inconsistent behaviour when switching between dev containers and WSL in my current version of VS Code (Code is Insiders branch).
When hitting F1 and entering "Reopen in WSL", the following menu shows up:
hitting the suggested menu item causes an error message to display:
while producing the following logs:
2024-12-27 14:07:41.071 [error] TypeError: Cannot read properties of undefined (reading 'env')
at Object.getEnv (c:\Users\simon\.vscode-insiders\extensions\ms-vscode-remote.remote-wsl-0.88.5\dist\node\extension.js:2:247350)
at c:\Users\simon\.vscode-insiders\extensions\ms-vscode-remote.remote-wsl-0.88.5\dist\node\extension.js:2:267631
at async t.getWSLExecServer (c:\Users\simon\.vscode-insiders\extensions\ms-vscode-remote.remote-wsl-0.88.5\dist\node\extension.js:2:267610)
at async t.AuthorityResourceStore.get (c:\Users\simon\.vscode-insiders\extensions\ms-vscode-remote.remote-wsl-0.88.5\dist\node\extension.js:2:210477)
at async c:\Users\simon\.vscode-insiders\extensions\ms-vscode-remote.remote-wsl-0.88.5\dist\node\extension.js:2:223145
at async fw.h (file:///c:/Users/simon/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:32825) remote-wsl.reopenInWSL {"value":"ms-vscode-remote.remote-wsl","_lower":"ms-vscode-remote.remote-wsl"}
If, however, I use the Remote menu at the bottom-left of the window, the VS Code behaves as expected and reopens the folder "locally" (in WSL).
Note: Although I didn't explicitely show this in screenshots, using F1 and explicitly hitting Dev Containers: Reopen... works as expected. This is an issue in the WSL remote extension.
The text was updated successfully, but these errors were encountered:
As stated in the title, there is some inconsistent behaviour when switching between dev containers and WSL in my current version of VS Code (Code is Insiders branch).
Version info:
When hitting F1 and entering "Reopen in WSL", the following menu shows up:
hitting the suggested menu item causes an error message to display:
while producing the following logs:
If, however, I use the
Remote
menu at the bottom-left of the window, the VS Code behaves as expected and reopens the folder "locally" (in WSL).The text was updated successfully, but these errors were encountered: