Disable debug when mode is set to live.

When we're in live mode, we should disable debug so that we don't display pretty exceptions with stack traces.

JOINDIN-472 #close Fixed.