Add debug log turn on/off variable.