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

Couldn't connect to flutter web #3376

Closed
Puspharaj opened this issue Sep 21, 2021 · 5 comments
Closed

Couldn't connect to flutter web #3376

Puspharaj opened this issue Sep 21, 2021 · 5 comments
Milestone

Comments

@Puspharaj
Copy link

flutter run -d web-server --web-port 5000

I can see my app up and running at http://localhost:5000/#/.

But i cannot connect Dart dev tools, it says connect to running app. If i provide the url, exception throws "cannot connect".

PS: dont ask for sample code you can mimic the issue with sample application.

@kenzieschmoll
Copy link
Member

@elliette is this expected to work outside of google3?

@kenzieschmoll kenzieschmoll added this to the Backlog milestone May 5, 2022
@mark-dropbear
Copy link

I hope so! Trying to enable using Github codespaces for Flutter development and this is a key requirement to unlock that

@elliette
Copy link
Member

elliette commented Aug 7, 2023

Dart DevTools isn't supported for the web-server device, only the chrome device. Is there a reason why you are using web-server instead of chrome?

The web-sever device does support debugging from VS Code though, so if you launch your app with the web-server device option from VS Code you can debug from there.

@mark-dropbear
Copy link

mark-dropbear commented Aug 9, 2023

Hmm just to double check a couple of assumptions here as it sounds like I may potentially be on the wrong track here.

Therefore unless I am missing something important here I can't(?) really tell it to use Chrome as it's running inside of a docker container and it wouldn't make sense to include one in there either because how would it launch?

Going back to that idx.dev reference it looks like they have already solved that specific problem that I am encountering here, just not sure how but I am very keen to get an invite and start using it ;)

@elliette
Copy link
Member

elliette commented Aug 7, 2024

Are you experiencing this issue or having you found a workaround? If not feel free to re-open so we can investigate. Thanks!

@elliette elliette closed this as completed Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants