Debugging getting items for a list