Cognizant Interview Question

How will you debug a code ?