[master] adding some debug output to figure out weird problem in clouseau/discovery