Update server.rb to debug generic_response 

Update server.rb to debug generic_response