That's part of why I don't typically use a debit card. A bad transaction on a debit card can still be your problem and take some doing to fight. If I get defrauded on my credit card, a chargeback is a click away, and Mastercard will make the money the vendor's problem to work out.
Fortunately I've never been defrauded, but my dad was once via his debit and it was a pain.
They make it look one click away, but, the one time I had to use it with a Discover card I had to do a lot of legwork to get it refunded and it took nearly three months. If I hadn't been so annoyed at the fraud I would have just eaten it