engine : add debug trace in adapter