check isDebugEnable