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

Posted Answer1215

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[Debug] Use Remote Sources to Debug a Web App on an Emulator, Simulator, or Physical Device相关的知识,希望对你有一定的参考价值。

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的主要内容,如果未能解决你的问题,请参考以下文章

iOS web remote debug 正确的姿势

java remote debug parameters

pycharm remote debug

IDEA线上排错神器之Remote JVM Debug(JVM远程Debug)

Pycharm远程调试之ssh remote debug(二)

use paramiko to connect remote server and execute command