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

Fails when connected to WSL with SSH #209

Open
skoging opened this issue Dec 16, 2020 · 0 comments
Open

Fails when connected to WSL with SSH #209

skoging opened this issue Dec 16, 2020 · 0 comments

Comments

@skoging
Copy link

skoging commented Dec 16, 2020

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.

@skoging skoging changed the title Connected to WS with Fails when connected to WSL with SSH Dec 16, 2020
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

1 participant