Dart-code: Support a configuration attribute 'program' for 'flutter.attach'

Created on 21 Jul 2019  路  5Comments  路  Source: Dart-Code/Dart-Code

With the flutter CLI we can run:

$ flutter attach --device-id=flutter-tester --debug-uri=http://[....] --target=lib/main_desktop.dart 

The target flag is used to select The main entry-point file of the application, as run on the device, if omitted, it default to "lib/main.dart").

Currently the extension doesn't support custom entry-point, ref, "lib/main.dart" is always used.

in debugger in flutter is enhancement

All 5 comments

Awesome! Thanks.

I'm planning to make a beta build today that will include this if you want to test it, just gotta sort a few things out first.

There's a beta build here:

https://github.com/Dart-Code/Dart-Code/releases/tag/v3.3.0-beta.2

Release notes aren't done yet (but hopefully will be done today). Please let me know if you try it out if you have any issues.

After testing I didn't found any issues!

Great, thanks for confirming! 馃憤

Was this page helpful?
0 / 5 - 0 ratings