Added debugs to track down pgm devil