-
Notifications
You must be signed in to change notification settings - Fork 303
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
Using "args" in launch.json for an attach request reports an error #3431
Comments
There's an open issue about improving this at #2722, although it will require some Flutter tooling changes (since the current message is just text that VS Code can't understand, nor does it know where to get those IDs from). As a short-term workaround, you should be able to add to the |
@DanTup thanks for your response. Adding to the The problem message is just: |
Thanks for confirming! It definitely shouldn't be an error to add |
No problem. It's also worth mentioning that it's only reported as an error when the |
Thanks - I suspected that might be the case as I was updating the title - if I remember correctly they have their own definitions. There's probably not been much reason to use Thanks! |
It's a fairly niche use case, but it is useful to be able to attach the debugger to a running app instead of having to wait a while for a restart when issuing a |
I had the same thing happening when debugging a Flutter app on iOS in IntelliJ. Adding |
Describe the bug
When trying to attach the debugger to a flutter app I get the error message:
However, there is no configuration option available for type
dart
in thelaunch.json
for me to be able to specifyapp-id
My
launch.json
looks like this:To Reproduce
Steps to reproduce the behavior:
flutter run
debug app
launch config specified above.I've also tried not launching with
flutter run
by just tapping on the app in the emulator and then trying to attach but the same problem occurs.Expected behavior
I expected to be able to attach to the running process.
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: