Copied to clipboard

Flag this post as spam?

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


  • Stefan Kip 1614 posts 4131 karma points c-trib
    Oct 01, 2012 @ 10:46
    Stefan Kip
    0

    Umbraco debug mode and trace

    I'm currently having problems with enabling/disabling the trace information.
    The problem is that the ASP.NET trace is printed for the 404 page.

    Wanted situation:
    - No trace information at all, not via ?umbdebugshowtrace=true and not via the 404 page.

    Current situation:
    - Trace information via ?umbdebugshowtrace=true is disabled, but the 404 page does print trace information

    Current configuration:
    - umbracoDebugMode: false
    - system.web/trace: enabled="false"
    - system.web/compilation: debug="false"
    - default.aspx page declaration: Trace="true" (default, shipped by umbraco)

    The only thing I can do not printing the trace information on the 404 page, is by setting Trace to false on the default.aspx page declaration.
    The issue with that is, it's impossible to get any trace information, so ?umbdebugshowtrace=true doesn't work anymore.

    Could someone shed some light on this? Are we doing something wrong or is this a bug?

  • David Freitas 10 posts 31 karma points
    Mar 14, 2014 @ 01:56
    David Freitas
    0

    Good question.

  • Steve Morgan 1349 posts 4459 karma points c-trib
    Apr 20, 2016 @ 15:45
    Steve Morgan
    3

    For anyone else that lands here as this scores highly on Google. In the more modern Umbraco it's

    ?umbDebug=true you're looking for (and make sure the website webconfig debug is enabled.

  • blackhawk 313 posts 1368 karma points
    Jun 27, 2017 @ 21:37
    blackhawk
    1

    Works like a charm when debug is set to true from web.config. Thanks!

Please Sign in or register to post replies

Write your reply to:

Draft