flutter / devtools

Performance tools for Flutter
https://flutter.dev/docs/development/tools/devtools/
BSD 3-Clause "New" or "Revised" License
1.56k stars 321 forks source link

Suggestion: Support webadb connect Android device #5341

Closed FourLeafTec closed 2 months ago

FourLeafTec commented 1 year ago

In WebIDE(like Github Codespaces), it's very hard to debug on Android device. We can use network debug, but it's complicated.

I found out there is WebUSB_API in modern browser. And it is able to implement WebADB for Android In vscode, also support for using WebUSB, Web Serial, and WebHID from web extensions. WebUSB, WebSerial, and WebHID access on web

If devtools and vscode extensions could support debug Android device in broweser just like esp-web-flash-server ,it will be Amazing.

elliette commented 2 months ago

You should be able to use DevTools, regardless of your IDE. Please follow instructions here: https://docs.flutter.dev/tools/devtools#start

Please re-open or file a new issue if this did not answer your question. Thanks!