While the specifics can vary from card to card, most debit cards allow you to earn points based on your spending. In some cases, you may earn a certain number of points for every dollar spent.
Other times, you may have to spend money at a specific type of store (grocery stores, restaurants, etc.) to earn debit card points, and not every transaction may be eligible.