Elastic interview question

how to debug Web Server throwing Issue (500 Error)?