Use opera mobile to debug mobile webpage

Source: Internet
Author: User

DebuggingCodeIs everyProgramDevelopers must be proficient in front-end development. As long as your browser is not too old, press F12 to view various debugging consoles. This section does not describe how to debug code in a specific project, but describes how to remotely debug pages in opera mobile in opera desktop edition.

Download the latest opera mobile emulator and install it. Then open the opera desktop version (the version should not be too low). Press the hotkey (CTRL + Shift + I) or right-click "Check element ", activate the opera debugging tool dragonfly. Next, go to Dragonfly and opera
Mobile (enter Opera: Debug in the address bar and press Enter) to configure remote debugging.

Generally, keep the default port unchanged. If the default 7001 port is occupied, change it to another port. Apply the settings in dragonfly and connect at opera mobile. If nothing happens, Dragonfly automatically closes the settings of the floating layer and can start debugging.



(View and modify the DOM)



(Let opera mobile run the test JS)

Many may confuse opera mobile and opera Mini. You can search for the differences between the two. In addition, chrome supports remote debugging. Click here to see the Introduction.

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.