Zoox Interview Question

How would you go about debugging a vending machine?