首页 > 移动平台 > 详细

[Debug] Use Remote Sources to Debug a Web App on an Emulator, Simulator, or Physical Device

时间:2018-06-15 19:30:32      阅读:218      评论:0      收藏:0      [点我收藏+]

We can emulate different operating systems, browsers, and devices within a desktop operating system. We’re going to discuss iOS and Android options we have available to us, and how to debug on those devices.

 

More than often we want to test what we have seen is what user see our app. To do that we need to use device to test our web application.

To enable device testing, the easiest to do it:

Install:

npm install ngrok -D

 

Suppose our application is running on localhost:8000, then we can run the command:

ngrok http 8000

 

Of course this is only one way to test web application on mobile device.

You can also use Remote debuging with Chrome: 

chrome://inspect/#devices

 

To test on difference brwoswers, we can also use BrowserStack.

[Debug] Use Remote Sources to Debug a Web App on an Emulator, Simulator, or Physical Device

原文:https://www.cnblogs.com/Answer1215/p/9188743.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!