Update server.rb to debug generic_response method

Update server.rb to debug generic_response method