print some debug messages