Add some debug messages to icl.c.