MSD Interview Question

How would you debug this code?