Skip to content

Support a configuration attribute 'program' for 'flutter.attach' #1881

Closed

Description

@pchampio

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.

Activity

  1. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    on Jul 22, 2019
  2. added this to the v3.3.0 milestone on Jul 22, 2019
  3. pchampio commented on Jul 22, 2019

    @pchampio
    Author

    Awesome! Thanks.

  4. DanTup commented on Jul 22, 2019

    @DanTup
    Member

    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.

  5. DanTup commented on Jul 22, 2019

    @DanTup
    Member

    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.

  6. added
    in debuggingRelates to the debug adapter or process of running debug sessions
    in flutterRelates to running Flutter apps
    on Jul 22, 2019
  7. pchampio commented on Jul 22, 2019

    @pchampio
    Author

    After testing I didn't found any issues!

  8. DanTup commented on Jul 22, 2019

    @DanTup
    Member

    Great, thanks for confirming! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsin flutterRelates to running Flutter appsis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions