Sun* interview question

How to debug 500 internal server error