VS Code

Select the correct device using the status bar in VS Code, then run the Flutter: Attach to Flutter on Device command from the command palette.

Alternatively, create a .vscode/launch.json file in your Flutter module project to enable attaching using the Run > Start Debugging command or F5:

name

Flutter: Attach

request

attach

type

dart

IntelliJ / Android Studio

Select the device on which the Flutter module runs so flutter attach filters for the right start signals.