Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peter Cort Larsen 418 posts 1015 karma points
    Mar 27, 2014 @ 14:00
    Peter Cort Larsen
    0

    umbdebug version 7

    Hi, 

    What do i need to do to get debug info on a vers. 7.

    I have added     <add key="umbracoDebugMode" value="true" /> in web.config

    But it dosnt work, what else do i need to do?

    I tried:
    ?umbdebug=true
    ?umbDebugShowTrace=true

     

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Mar 27, 2014 @ 14:16
    Jan Skovgaard
    0

    Hi Peter

    Since Umbraco 6 was released the old "umbdebugshowtrace" string can't be used anymore.

    ?umbdbebug=1 should work and be hooked up using mini profiler. But I have never figured out how it works and if it works out of the box.

    But I believe it's the same thing that should be used with v7.

    You can read more about the mini profiler at the umbraco.com blog and Jorge Lusar has created a package that might be of interest. He has written more about it here http://jlusar.es/miniprofiler-for-umbraco and there is another blogpost on mini profiler here http://blog.dotnetnerd.dk/post/2012/01/16/Using-the-MVC-Mini-Profiler-with-Umbraco.aspx

    Hope this helps!

    /Jan

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Mar 27, 2014 @ 15:06
    Dave Woestenborghs
    0

    Hi 

    I believe the appsetting key umbracoDebugMode is not used anymore in V7. I don't have it in my install.

    To get it working you need to change your compilation tag in the web.config.

    You need to set the debug attribute to true like this

     <compilation defaultLanguage="c#" debug="true" batch="false" targetFramework="4.5">
          <buildProviders>
            <add extension=".cshtml" type="umbraco.MacroEngines.RazorBuildProvider, umbraco.MacroEngines" />
            <add extension=".vbhtml" type="umbraco.MacroEngines.RazorBuildProvider, umbraco.MacroEngines" />
            <add extension=".razor" type="umbraco.MacroEngines.RazorBuildProvider, umbraco.MacroEngines" />
          </buildProviders>
        </compilation>

    Dave

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Mar 27, 2014 @ 15:08
    Dave Woestenborghs
    101

    Forgot to mention that you have to append ?umbdebug=true to your url to see it

  • Peter Cort Larsen 418 posts 1015 karma points
    Mar 27, 2014 @ 15:09
    Peter Cort Larsen
    0

    thanks, it worked.

Please Sign in or register to post replies

Write your reply to:

Draft