Debug outputs to a log file