-
Notifications
You must be signed in to change notification settings - Fork 6
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
Clearer documentation for VS code setup #35
Comments
I do have Windows, but I don't use WSL (I can't, in fact, because of drive space) because I dual-booted my computer and use Linux as my main machine. Please enlighten me on this issue: is it not the same with Linux? The configuration file ( Thanks! |
In WSL 2 (Ubuntu), launching the app will launch it within WSL which does not have Chrome installed and does not support UI by default. The error messages are not clear about what is actually required to fix the problem. I think most people would think it would launch Chrome installed in Windows but it doesn't. I installed Chrome manually in WSL and installed XLaunch for UI support (after a couple of hours of Googling). It works for me but I am not 100% sure if this is the right way or the only way for the WSL AngularDart setup. |
If the ports are not blocked between WSL and Windows, I think theoretically one is able to open |
It's not about accessing the webserver from Windows. The App does not launch from VS Code debug because of the errors caused by the absence of Chrome in WSL |
@GZGavinZhao WSL (1, don't know about 2 version) can run windows programs if windows paths shared with WSL. |
The setup guide for VS code on https://angulardart.xyz/guide/setup#visual-studio-code defaults to the Windows environment.
Many people use WSL/WSL2 with VS CODE by default. The instructions do not work properly for WSL setup.
The text was updated successfully, but these errors were encountered: