How to debug the page JS when loading the page asynchronously using AJAX

Source: Internet
Author: User
Preface-I am not a dry front, so some nouns are not professional

In the front-end, sometimes you encounter such a framework, http://172.17.11.151:8060/frontend/backend.html#1.html (by parsing the URL, the 1.html asynchronously loaded into the specified location), I don't know what the name of such a framework is.

Then we will encounter a problem, debugging 1.html when to do, through the browser out of the console can not find a 1.Html page, cannot add breakpoints Ah.

Solutions

  In 1.html you have to debug the location plus a code debugger; Yes, that's it, that's cool.

Can be debugged, can observe the current parameters and so on.

How to debug the page JS when loading the page asynchronously using AJAX

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.