Accenture Interview Question

How do you debug slow running jobs in spark?