disable crunching in debug

Oct 16, 2009 at 9:02 AM


Thanks for a great component, I just have a few suggestions for helping js debugging during development.

It would be really useful if when in debug we could set it to not crunch scripts as its makes js debugging impossible. Currently we have to remember to set EnableCrunching="true" when we deploy. Also it would be nice to optional disable the combining of scripts when in debug, again to make js debugging as all files will be separate so simpler to read through.


Oct 27, 2009 at 5:20 AM

Crunching is not enabled in debug mode, even when you set EnableCrunching to true. Make sure your web.config has this entry:

<compilation debug="true">

When you deploy to production, set it back:

<compilation debug="false">