Alert for Debug enabled in Server Connect?

Have seen others mention it, and I too forget, that sometimes Debug is selected in Server Connect… Not fun when you remember at 3.30am in a warm bed on a cold night, then you know you have to get up to disbale it, make a coffee, binge watch Breaking Bad then the Movies and Spin-Offs, maybe watch The Wire again, a few fail videos, and damn its morning but you feel good knowing Debug is off, all is well in the universe…

So yes, please, can we have a little notification to inform us forgetful folk that Debug is active?

:smiley:

Thanks for considering!

Hey Dave...

Sounds like you've had a fun night! :slight_smile:

I've worked around it by including an edit of the file which sets the debug switch within my deployment script. I use AWS Elastic beanstalk, and in their config files I have the command:

grep -rl '$CONFIG_DEBUG = true;' dmxConnect/config.php | xargs sed -i 's/$CONFIG_DEBUG = true;/$CONFIG_DEBUG = false;/g'

I don't know if that would work for you somehow... but I do find it gives:

8 hours sleep guaranteed!

1 Like