码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2018-06-15 20:06:07      阅读:230      评论:0      收藏:0      [点我收藏+]

标签:oca   cat   AC   mob   col   command   imu   browser   desktop   

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

标签:oca   cat   AC   mob   col   command   imu   browser   desktop   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!