Are there any ways to programmatically get Observatory debugger URL like this
http://127.0.0.1:49276/K-PoofiUguw=/
inside the Flutter running application?
After researched, We can't get it on runtime.
But we can get it during launch the app using vmservice-out-file option.
Example:
flutter run -d deviceId --vmservice-out-file=[TEMP_FILE]
Reference: https://github.com/flutter/flutter/pull/41583
Update: another ways is to use flutter daemon or flutter attach
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With