Add some more debug to see why CD isn't working.