Add debug trace in dependency service