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 421 posts 1038 karma points
    Dec 04, 2013 @ 10:43
    Peter Cort Larsen
    0

    Umbraco 7 umbracoDebugMode

    Hi,

    Thanks for a great solution umb 7.

    Dosnt umbracoDebugMode work anymore?

    <add key="umbracoDebugMode" value="true" />

  • Per Ploug 865 posts 3491 karma points MVP admin
    Dec 04, 2013 @ 10:46
    Per Ploug
    0

    I dont believe so, I think you just set the normal asp.net debug mode in web.config

  • Peter Cort Larsen 421 posts 1038 karma points
    Dec 04, 2013 @ 10:47
    Peter Cort Larsen
    0

    Note: I tried in 2 different solutions, same issue.

    The customerros settings should be fine, like i use to have them set:

    <customErrors mode="Off" />
    <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
  • Per Ploug 865 posts 3491 karma points MVP admin
    Dec 04, 2013 @ 10:49
    Per Ploug
    0

    What is the issue exactly then?

  • Peter Cort Larsen 421 posts 1038 karma points
    Dec 04, 2013 @ 11:05
    Peter Cort Larsen
    0

    I cant seem to enter debug mode, like i normalty would. 
    I also tried to set debug to true in compilation and the settings for trace  in web.config to no avail.

     

  • Scott Obert 2 posts 23 karma points
    Dec 14, 2013 @ 06:49
    Scott Obert
    0

    I'm having trouble with it too. Clean install of Umbraco 7.0.0 via nuget into an empty MVC solution in VS2012. 

    I added <add key="umbracoDebugMode" value="true" /> to the appSettings.config and it is not working.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Dec 14, 2013 @ 10:00
    Jeroen Breuer
    0

    That's because in MVC trace doesn't work. See this blog post: http://umbraco.com/follow-us/blog-archive/2013/5/10/umbraco-610-beta-2-out-now!.aspx

    "Many people noticed that in Mvc mode, Umbraco can't give you tracing any more, which made finding bugs and performance issues harder."

    Have a look at the MiniProfiler alternative in that blog post.

    Jeroen

  • Peter Cort Larsen 421 posts 1038 karma points
    Dec 14, 2013 @ 13:32
    Peter Cort Larsen
    0

    I am not using MVC, but webforms, does that make difference?

     

  • Scott Obert 2 posts 23 karma points
    Dec 14, 2013 @ 18:51
    Scott Obert
    1

    Thanks Jeroen. I was able to see the MiniProfiler by setting the compilation debug attribute to true in the web.config and adding ?umbDebug=true to the URL.

    This looks even better and more useful than the old Asp.Net Tracing.

Please Sign in or register to post replies

Write your reply to:

Draft