rename to isDebug