Walmart Global Tech interview question

How do you test/debug multithreaded software?