in reply to 500 Error

FWIW, 500 is "Internal Server Error", which could mean that the server itself has a problem. Debug mode might be sending it something to make it choke and dies.