How would you debug a malfunctioning embedded device that only fails under specific conditions for Incedo client systems?