hdt: Adding more debug traces in cli