Choose the process you want to attach to. In this case, it’s the
com.google.clickcount
 (or com.company.app_name)
 process for the Motorola Moto G.

In the debug pane, you should now see a tab for Android Debugger.

In the project pane, expand
    app_name > android > app > src > main >
java > io.flutter plugins
    .
Double click GeneratedProjectRegistrant to open the
Java code in the edit pane.

Both the Dart and OEM debuggers are interacting with the same process.
User either, or both, to set breakpoints, examine stack, resume execution…
In other words, debug!

Debugging with Xcode (iOS)

In order to debug OEM iOS code, you need an app that contains OEM iOS code.
In this section, you’ll learn how to connect two debuggers to your app:
1) the Dart debugger and, 2) the Xcode debugger.