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
I'm using VSCode with a remote SSH connection to WSL on different computer. In this context cmd.exe or powershell.exe is not available, even though it's running in WSL.
Create React App uses a helper the $BROWSER env variable, which VSCode sets to a helper script browser.sh that uses VScodes internal website open logic to open on the site in a browser on the client machine instead of the remote host.
I believe this would have to be handled as regular linux system, not WSL, for this to work. I tested this by setting isWsl to false, and everything worked as expected.
I'm not sure how to correctly identify this scenario.
The text was updated successfully, but these errors were encountered:
skoging
changed the title
Connected to WS with
Fails when connected to WSL with SSH
Dec 16, 2020
I'm using VSCode with a remote SSH connection to WSL on different computer. In this context
cmd.exe
orpowershell.exe
is not available, even though it's running in WSL.Create React App uses a helper the
$BROWSER
env variable, which VSCode sets to a helper scriptbrowser.sh
that uses VScodes internal website open logic to open on the site in a browser on the client machine instead of the remote host.I believe this would have to be handled as regular linux system, not WSL, for this to work. I tested this by setting
isWsl
tofalse
, and everything worked as expected.I'm not sure how to correctly identify this scenario.
The text was updated successfully, but these errors were encountered: