akinsho / flutter-tools.nvim

Tools to help create flutter apps in neovim using the native lsp
MIT License
935 stars 75 forks source link

`FlutterCopyProfileUrl` doesn't work when starting app in profile mode #269

Closed jaiverma closed 1 year ago

jaiverma commented 1 year ago

Is there an existing issue for this?

Current Behavior

FlutterCopyProfileUrl errors out with saying "Wait while the app starts" when starting the flutter app in profile mode (by running FlutterRun --profile). The command works as expected when run in debug mode (FlutterRun).

Expected Behavior

FlutterCopyProfileUrl should work when run with --profile as well.

Steps To Reproduce

Environment

- OS: Arch Linux
- Flutter version: 3.10.5
- Is flutter in $PATH: Yes
- neovim version: v0.9.1

Anything else?

No response

jaiverma commented 1 year ago

Found on documentation that Flutter apps run in profile mode will not start the devtools for web apps. The profiling devtools are only meant for Flutter mobile.

The performance view works with Flutter mobile, Flutter desktop, Use [Chrome DevTools](https://developer.chrome.com/docs/devtools/) to debug performance for a Dart or Flutter web app.

Closing issue.