Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
pchampio opened this issue Jul 21, 2019 · 5 comments
Closed

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

pchampio opened this issue Jul 21, 2019 · 5 comments
Labels
in debugger Relates to the debug adapter or process of launching a debug session in flutter Relates to running Flutter apps is enhancement
Milestone

Comments

@pchampio
Copy link

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.

@pchampio
Copy link
Author

Awesome! Thanks.

@DanTup
Copy link
Member

DanTup commented Jul 22, 2019

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.

@DanTup
Copy link
Member

DanTup commented Jul 22, 2019

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.

@DanTup DanTup added in debugger Relates to the debug adapter or process of launching a debug session in flutter Relates to running Flutter apps labels Jul 22, 2019
@pchampio
Copy link
Author

After testing I didn't found any issues!

@DanTup
Copy link
Member

DanTup commented Jul 22, 2019

Great, thanks for confirming! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in debugger Relates to the debug adapter or process of launching a debug session in flutter Relates to running Flutter apps is enhancement
Projects
None yet
Development

No branches or pull requests

2 participants