Visual Studio For Mac Xamarin Android
This article explains how to debug a Xamarin.Android application on a physical Android device.
Visual Studio 2017. Open the Visual Studio Installer, and download the latest Visual Studio 2017 Preview (15.8 Preview 5). Visual Studio for Mac. Switch the Visual Studio for Mac Update Channel to the Beta channel. Download Xamarin.Android 9.0.0.17 and install the update. Both Visual Studio 2017 and Visual Studio for Mac. Visual Studio for Windows: Visual Studio for Mac: Target Framework – Specifies which framework to use in building your application. This API level is used at compile time by Xamarin.Android. Minimum Android Version – Specifies the oldest Android version that you want your app to support. This API level is used at run time by Android.

It is possible to debug a Xamarin.Android app on an Android device usingeither Visual Studio for Mac or Visual Studio. Before debugging canoccur on a device, it must besetup for developmentand connected to your PC or Mac.
Debug Application
Once a device is connected to your computer, debugging aXamarin.Android application is done in the same way as any otherXamarin product or .NET application. Ensure that the Debugconfiguration and the external device is selected in the IDE, this willensure that the necessary debug symbols are available and that the IDEcan connect to the running application:
Visual Studio For Mac Xamarin Android Installer
Next, a breakpoint is set in the code:

Once the device has been selected, Xamarin.Android will connect to thedevice, deploy the application, and then run it. When the breakpoint isreached, the debugger will stop the application, allowing theapplication to be debugged in a fashion similar to any other C#application:
Next, a breakpoint is set in the code:
Android Development Using Visual Studio
Once the device has been selected, Xamarin.Android will connect to thedevice, deploy the application, and then run it. When the breakpoint isreached, the debugger will stop the application, allowing theapplication to be debugged in a fashion similar to any other C#application:
Summary
In this document discussed how to debug a Xamarin.Androidapplication by setting a breakpoint and selecting the targetdevice.