Reputation: 101
Is there any way to remotely debug a mobile web app in a W10&Edge phone from a computer through a USB connection? I mean, the same way we debug web apps in Android and iOS through Chrome and Safari dev tools.
If it is posible, which are the requirements of the computer? Would it be posible from a W7 or W8 computer?
Upvotes: 4
Views: 3472
Reputation: 2533
I had a same question. But I solve my problem with this:
I copied html+js code into my UWP application and then I can remote debug it with Visual Studio
Upvotes: 0
Reputation: 4605
I do not believe it is possible via USB, but you can use something like VorlonJS to debug websites remotely, even on mobile devices.
I demo exactly how to do this in a sample on GitHub.
Developer:
Simply navigate to your dashboard at http://vorlondebugger.azurewebsites.net/dashboard/default. This is your dashboard for viewing who is currently on the Vorlon demo site.
Users:
Instruct them to navigate to http://vorlondemoapp.azurewebsites.net/, which is a basic HTML5 boilerplate site.
Usage:
Look at your dashboard, and you'll now see that the users are viewing the page. You can alter their code on-the-fly.
Upvotes: 1