ClientDependency
ClientDependency copied to clipboard
Option to enable release mode while compilation debug="true"
It would be very useful to be able to set CDF to release mode even when debug="true" to be able to debug VPP etc... Perhaps a optional setting or similar:
<clientDependency version="232" fileDependencyExtensions=".js,.css" loggerType="Umbraco.Web.UI.CdfLogger, umbraco" ignoreDebugMode="true">
You should still be able to debug this with debug="false" in your web.config
If debug=false which it must be for the VPP to be executed then I can't hit a break point in my custom VPP provider code?
I do this all the time. Do a ctrl+F5 to launch your web project in VS without debugging. Then attach to process iisexpress. This definitely works, i can do a screenr if you like.
If you want to make that process faster, install the 'AttachTo' VS extension and then add a keyboard shortcut to Attach to IIS Express (I use ctrl + shift + enter)
This is basically how I also code/debug, i generally never do just F5 because once you stop debugging it stops IIS Express as well which is annoying. ctrl+F5 keeps it alive.
Ah cool, thanks, I'll give that a try.
@Shazwazza thats awesome, the work and the tip! :+1: