Debug commit

Add various outputs to monitor the intermediate results