watcher: add some debugging statements