House members debated whether to allow lottery ticket vending machines and a gun safety education program in the annual spending plan.