output debug info to stderr