Debug using error_log() instead of stderr by default