Fix debug_callback definition.