'How to debug flutter module from iOS native?

I am working on flutter module to integrate it as subpart of iOS native existing code.

I can debug flutter module when run individual on Android Studio.

I can debug iOS Native code too from xCode.

But When we integrate Flutter module with iOS Native then the role of Android Studio SDK get over.

At this point if we pass certain information from iOS native using method channel to flutter module.

How we can put a break point or debugger at flutter module to verify that certain things (functions) getting called?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source