Debugging getting list items for a given list