add debug support in DataEngine