Debug Web page programs with Chrome browser

Source: Internet
Author: User

Background:

In today's work process, interrupt point debugging Follow up a section of JS code execution, the interface using Jquery.open Open, Ok () event no corresponding button, front-end Web Interface Click button, unable to cut into the breakpoint statement.

Workaround: Use Debugger

Enter debugger in the OK () function

Front-end Interface Click OK button, the service program does not start debugging (server vs directly Open is the site, the site directory is the source code,)

Press F10 to debug, you will find it very convenient and useful.

Problem One: User feedback oa on some input items (input content with & connected), after selecting, click the Confirm button, the parent interface does not.

Reason: When using the URL to pass parameters, with the & symbol connection, if a parameter contains "#$ ^ & * + =" These symbols, on another page getparameter will not be passed over the parameters. Therefore, you need to avoid special characters when you pass the parameter, lest the program error.

Debug Web page programs with Chrome browser

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.