add a lot more debugging lines

Change-Id: I9b79845f5171c19c2b6f5214c9c307e0cfeaeec5