Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在本地有一些未压缩的 javascript 文件。当我用谷歌浏览器测试其中一个文件时,它会被chrome压缩,所以我不能用Chrome开发者工具调试这个文件,但同时其他一些js文件是正常的,可以调试。
谁能告诉我原因。
将其作为答案,因为它最终成为问题。我的猜测是您的 javascript 文件中有非常规的行结尾,您的编辑器显示为换行符,但 Chrome 调试器没有。Chrome 不压缩任何东西。