Answer
Select the target platform head in the debugger, use conditional breakpoints and the platform's native logs (logcat for Android, Console/Instruments for iOS). Reproduce on the specific platform, inspect the native view via handlers, and use #if-guarded logging. The Live Visual Tree helps inspect the UI hierarchy.
#if ANDROID
Android.Util.Log.Debug("MyApp", $"State: {state}");
#endifReal-world example An Android-only layout glitch is diagnosed by logging to logcat and inspecting the native view tree, then fixed with a handler tweak.