VS Code(Linux) Unable To Launch Chrome For Flutter For Web
See original GitHub issueDescribe the bug
When I run my flutter application from VS Code using the debugger chrome briefly opens and closes and I get an HttpException. Same application works fine with flutter run -d chrome
on terminal.
To Reproduce Steps to reproduce the behavior:
- Create a flutter application in stable channel on Ubuntu 20.04
- Try to run application from the VS Code debugger using chrome as the device
Expected behavior Chrome opening and running the application while connected to the VS Code debugger
Versions:
- VS Code version: 1.56.0
- Dart extension version: 3.22.0
- Flutter SDK version: 2.0.6
- Chrome Version: 90.0.4430.93 (Official Build) (64-bit)
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
VS Code does not show Chrome as device for Flutter
I install Flutter and VS Code in the following way: $ sudo snap install --classic code $ sudo snap install --classic flutter $...
Read more >Cannot start Flutter web app in Chrome debugger
Every time I try to start my Flutter app with a web target, it fails with "unable to connect to ... VS Code...
Read more >Setup Visual Studio Code's Network Connection
A handful of features within VS Code require network communication to work, such as the auto-update mechanism, querying and installing extensions, and telemetry ......
Read more >Install and run DevTools from VS Code
Start a debug session for your application by opening the root folder of your project (the one containing pubspec.yaml ) in VS Code...
Read more >Add Firebase to your Flutter app
Make sure that your Flutter app targets the following platform versions or later: iOS 11; macOS 10.13. Install Flutter for your specific operating...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Uninstalling snap vscode and installing apt vs code fixed it
yes, its working, thanks