Use flag names rather than values in debug output