Rewrite debug log file at each run