in reply to using die in CGI context / 500 errors

Then use any of less/more/vi/emacs to view your error_log.

--
tune