Clever Devices Interview Question

Q: how do you debug in multi-threaded environment.