Staging Debug is not displaying?

  • Hi,


    I'm trying to debug a site https://staging.woodchesterhouse.com/ and just noticed the debug table isn't displaying?


  • Hi Grant,


    PerchUtil::output_debug() works on both standard Perch and Runway. Runway automatically outputs the debug message for you when you have debug mode turned on, so you normally don't need to manually add it.


    You can go to Settings > Diagnostics > Extended and check the values of PERCH_PRODUCTION_MODE and PERCH_DEBUG to confirm whether they are set to what you want them to be.

  • Hi Hussein,


    Isn't it very, very late over there?


    Extended diagnostic shows…


    Production mode: Production (100)

    PERCH_DEVELOPMENT: 10

    PERCH_STAGING: 50

    PERCH_PRODUCTION: 100

    PERCH_DEBUG:


    Which explains why Debug isn't showing. So the next question is, why not? Something to do with my switch statement perhaps?