This article is a mirror article of machine translation, please click here to jump to the original article.

View: 12172|Reply: 0

[JavaScript] The browser debugs the JS compressed code

[Copy link]
Posted on 8/28/2017 2:16:22 PM | | | |
Using chrome's developer tools to debug Javascrip{filter}t code breakpoint debugging is a commonly used front-end debugging method.

But sometimes we need to debug the compressed Javascrip{filtering}t, because now most front-ends use FIS or webpack for compression, if you can't get the source code of Javascrip{filtering}t, you can only perform breakpoint analysis on the compressed code.

Click the pretty print button {} at the bottom of the Sources panel to format the Javascrip{filter}t code, and then break the point to debug.



In this way, we format the compressed code, set the breakpoint, and we can see that the code enters the breakpoint







Previous:Selenium web automated testing scheme
Next:This implementation is not part of the cryptographic algorithm validated by the Win platform FIPS
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com