[feature] HAVE_DEBUG flags