Remote Debug with Visual Studio for Xamarin Forms

First you must have installed the Mobile Development Complement

So, when you are working on your cross platform proyect and you want to debug the app on a physical device without any cable you have to do some simple steps:


  1. On your PC or Laptop you have to connect by cable your phone.

  2. Once the PC recognizes the phone, take a look into the Stardard Bar on the top of your Visual Studio, instead Emultator, the name of your device should appear.


  3. Then here come's the magic, next to the debug button you will have another bar for android controls.


  4. Click on Open Android adb command prompt.

  5. To verify that your device is connected we have to enter the next command into the prompt: adb devices .


  6. After that you must go to the Settings part of your device and click on Internet & Network, then click on the name of your network, and again to see the network details.


  7. At this part you must copy the IP Address of your device.

  8. Returning to the prompt you must enter this command: adb tcpip 5555 .


  9. Finally enter: adb connect IPADDRES and that's it, disconnect your device and on Visual Studio and you should continue to see the name of your device.


  10. Congratulations!!! You configured your device to compile trough Wi-fi.

Share this post