Write debug messages to stderr