Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>Xamarin DebugNew to Visual Studio Code? Get it now.
Xamarin Debug

Xamarin Debug

vadzimv

|
39,242 installs
| (0) | Free
Visual Studio Code debugger extension for Xamarin
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VS Code Xamarin Debug

A simple VS Code debugger extension for the Xamarin. It's forked Mono Debug with some changes with additions which allows you to debug Xamarin Android.

Limitaion

Xamarin Debug supports only debuggin of Xamarin.Android projectes on MacOs or Ubuntu(probaly it should work on other linux distros, but nobody tested it). Xamarin Android debugging support only one attached device, please make sure that command adb devices shows only one device in list.

Debuggin Xamarin Android

In order to debug Xamarin.Android appliction you need to install it on device. Use msbuild target Intstall:

msbuild droid.csproj /p:Configuration=Debug /t:Install

After install setup debugger like in example:

{
  "name": "Debug android",
  "type": "xamarin",
  "request": "launch",
  "packageName": "com.xamarin.debugexample.x_a_debug"
}

Building extension

Build Status

Building and using VS Code xamarin-debug requires a basic POSIX-like environment, a Bash-like shell, and an installed Mono framework.

To build the extension vsix, run:

npm install
make
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft