stupid test of Flag for coverage
switch from Debug bool to DebugLogger for easier injection