Automatically create DBG() macro based on debug_<object> macro.