debug infra; consolidated directives