Note: The debug mode shows only a max of 500 records, the export will always contain all records.