WILMAC interview question

1. How would you debug an application?