use debug flag by default