rename showDebugLevel function