IBM interview question

how do you debug and application or system crash