当在本地运行我的项目时,或者如果它在类似于环境jawr的产品中运行,jawr会压缩我的javascript文件,所以当我运行developer工具并尝试调试这些文件时,我只能查看压缩的文件。如何才能使我能够查看原始的、未压缩的javascript文件?
发布于 2014-11-26 19:50:29
有关jawr的调试和生产模式的信息可以找到这里。
从链接中:
While running in production mode, you may view your bundles in debug mode by using jawr.debug.overrideKey. This can be very helpfull when you need to debug issues in a production environment. Simply append overrideKey=(jawr.debug.overrideKey value) to the end of the url. Now your production bundles will be exploded; but only for that request. You may also view individual css and js files by adding the overrideKey to the end of the request.
因此,为了在生产或本地调试,您需要在url的末尾添加overrideKey=debug。
url.com/something?overrideKey=debug
https://stackoverflow.com/questions/27157727
复制相似问题