Enabled deleting diagnostics file when debugging