Add debugging statements to IPcheck.