I am developing an application windows 10 on a stationary PC. I also have a tablet windows 10 that once connected to the PC via USB not see debugging ( How to make it accessible?
After installing the UnlockGo (Android) on the PC, connect the phone using the USB cable. After that, open the installed software and click on the Remove Google Lock (FRP). On the next screen, click on the Start button. Then select the top option which help you enable USB debugging with internal codes.
Ok so I found an article that highlights how to debug a UWP application on a Surface pro using a cable:
Essentially the Visual Studio debugger wants to debug your application via a network, so you are creating a network between your desktop machine and your surface pro.
Below is the guide with the main steps highlighted
https://tomsoderling.github.io/Wired-Debugging-on-Surface/
Hardware Needed
In order to debug over a wired connection, you’ll need a few things:
2 USB to Ethernet dongles. You can find them for pretty cheap on Amazon.
A length of cat 5 cable to connect the two dongles together.
Connect the dongles together with the ethernet cable, and plug one dongle into your laptop and the other into the Surface.
Launch the remote debugger program on your surface and configure the following:
No Authentication
Turning this off seems to alleviate a lot of the hassle of trying to get the debugger to connect to the remote client app. I debug on a private or wired network and only have the remote client running when I need to debug, so the lack of security doesn’t concern me here.
Allow any user to debug
I use this setting because don’t log into my Windows 10 VM via Parallels so I’ve had an issue with that. I also use this when my coworker needs to debug on the Surface.
And then your device should be found in the Auto discover in visual studio
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With