set isDebug to true