base: add the --debug-flag to DPRINTF output with FmtFlag