Skip to content

Can't pass --track-widget-creation with hover run, is there another way? #216

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

Closed
MostHated opened this issue Aug 2, 2019 · 2 comments
Closed
Labels
hover question User questions

Comments

@MostHated
Copy link

Hey there,
I was trying to check some things in devtools but it said I needed --track-widget-creation enabled, so I tried including it using hover run --track-widget-creation but then I end up with an unknown flag error. Is there another way to enable it that I am not seeing? I looked through the h menu in the console but none of them jumped out as something comparable. I checked through what I could see in the available debug methods to enable similar to debugDefaultTargetPlatformOverride but I didn't see anything there that looked like it either.

Is this something that can be enabled somehow?

Side question, is it possible yet to attach to Android Studio to allow the debugger to work? I see there was a way you can manually enter a remote address, but it doesn't let you modify it the way it would need to be to accept the uri that is output in the console. It keeps trying to use ws://localhost/c9g_XXpYOHI=/:50300/ws but you can't seem to modify it that I can tell.

Thanks,
-MH

@pchampio
Copy link
Member

pchampio commented Aug 2, 2019

Is --track-widget-creation is something that can be enabled somehow?

Whenever you have request on hover, please check the latest version of hover.
Updating hover to the latest version will fix your issue. go-flutter-desktop/hover@b38033f .
The --track-widget-creation flag is set by default when running hover run.

@pchampio pchampio closed this as completed Aug 2, 2019
@pchampio
Copy link
Member

pchampio commented Aug 2, 2019

For the side question:

is it possible yet to attach to Android Studio to allow the debugger to work?

It's a duplicate of: #213

@pchampio pchampio added hover question User questions labels Aug 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hover question User questions
Development

No branches or pull requests

2 participants