Open VysotskiVadim opened 7 years ago
Added example
I have made this work in the past by setting properties by means of ADB, and using the attach support already available.
@borgdylan , you're right, it is how debugger works.
But it's not enough for comfortable work: debugger functionality should include:
Demo with current functionality: https://youtu.be/RnWTy1D031k
Hi, loving this project. This could very well enable Xamarin App development in Linux systems. Anyone tried this on Ubuntu or any other Linux distro yet?
@SimantoR, yes check vscode-xamarin-debug, it's tested on Ubuntu.
This is some kind of proof of concept, which shows that it's possible to debug Xamarin application using VS Code. I'd like you to review the idea and probably help me with advice.
Now it supports only Xamarin.Android, but Xamarin.IOS is similar. To start debugging build and deploy Xamarin.Android application via command line or ide, then define "packageName": "com.yourapp.name" in launch configuration, then run debugger. Debugger expects that you have adb in path. I tested debugger only on mac os.
Xamarin uses some "special" way to connect sdb, you can find more details here https://github.com/xamarin/xamarin-macios/blob/xamarin-mac-3.4.0.33/runtime/monotouch-debug.m#L1270 android has similar code, so I just send few packages before starting connection.
I'm going to continue implementing Xamarin.Anroid debug, then I will implement Xamarin.IOS debug.
Please, share you thoughts about this feature with me.