add more debug output

might be useful when developing with this module.