system detection debugging multiple os