dart-lang / webdev

A CLI for Dart web development.
https://pub.dev/packages/webdev
212 stars 75 forks source link

Dart Debug Extension Auto Run for flutter web app #2481

Open sunflower-knight opened 3 weeks ago

sunflower-knight commented 3 weeks ago

Can Dart Debug Extension auto run for the flutter app ? It is possible to do that ; I found every time I open flutter web app in Edge or Chrome , the extension will "light + colorful" , it means the extension can detect whether it is a flutter web app , so may be it is a good idea to "Auto Run for flutter web app" .

Give us a choice whether to auto run in extension setting.

bkonyi commented 3 weeks ago

Enabling this by default might be annoying for some users since it renders a banner stating the extension is debugging the current tab for each tab in the Chrome instance. Adding a setting for users to opt into this behavior sounds doable.

sunflower-knight commented 3 weeks ago

I find Enabling this by default might not annoying people ; beacause in normal website , the extension can not run , I click the extension , it is "gray + dead" ;