Debug also dumps to file