简体   繁体   中英

debugger keyword not working in javascript file in Visual Studio

我们有一个javascript文件,它在函数内使用debugger关键字,但Visual Studio 2015会忽略它。

The problem was caused by a HttpModule which puts a version number on the end of the script link, once this was removed the debugger keyword worked again.

Obviously in production we need this so I've just used a '#if debug flag' to work around the problem

I'm sure we never used to get this problem in VS 2013

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM