Web-Mobile Production environment debugging

Source: Internet
Author: User

If it is a development environment, it is easier to:

The most stupid way is the mobile phone QQ computer opened QQ to do a good job of the page to mobile QQ directly open.

Reference:

http://blog.allenm.me/2014/05/mobile-web-debug-guide-1/

http://blog.allenm.me/2014/05/mobile-web-debug-guide-2/

For mobile debugging, especially in the production environment, a certain tool must be used:

Method 1:

With fiddler debugging:

First step: 1.fiddler parameter setting

2.Connections panel port number settings:

3. Using IP for mobile-side web debugging

For example, my Computer WiFi is Lazyman-baidu,ip is 196.168.2.76. So the phone can set up a proxy network:

Andro (mine is mx4,iphone basically the same treatment)

Note: Need to be on the same network, IP is the same as PC

First step, Setup complete OK

Step Two: Start debugging

Click Fiddler Capture Network request, click on the request, right

Click Save and you can start debugging basically.

Method Two: If you just want to debug your code simply, you can use Chrome's debugging tools. Click on the top right corner of phone mode debugging

Device sets the phone type, network sets the type of mobile networks, such as 3G,4G, which is primarily used to simulate cellular speed. UA is used to simulate the browser and can be manually entered for modification. For example, change iOS8 to iOS9 ...

This method debugs the code well.

Web-Mobile Production environment debugging

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.