rename isDebugEnabled to debugEnabled