use libdg_dbg