Ramon Torras


K2 Smart forms debug mode


First of all, create a backup of the web.config file located in following path:

“C:\Program Files (x86)\K2 blackpearl\K2 smartforms Designer”


Once the backup is done, look for these sections and set the values to false

// This sections are for making the client side debuggable

    <add key=”Forms.Compression.IsEnabled” value=”false” />

    <add key=”UseBundledFiles” value=”false” />

    <add key=”UseMinifiedFiles” value=”false” />

    <add key=”Forms.CombinedResources.Cache.Enabled” value=”false” />

    <add key=”Forms.PostRenderCombining.Enabled” value=”false” />



//this one it’s just for debugging the server side code of a control

    <compilation debug=”true” targetFramework=”4.5″>




Be sure that you are debugging the right path. The web.config that you have modified is for the “designer” path of the form. Check the screenshot below!




NOTE: that will make slower
K2 designer, so my advice is once debugging is finish, restore the original web.config.