print error/debug to stderr