using debit cards is unsafe.
Nonsense. Suggest that anything else you hear from that person should be viewed with some skepticism.
Getting money in Morocco is no different from getting money in Paris, Rome, London, Athens, Orlando or anywhere else -- only difference is the currency that the ATM will spit out (and the unreadable-to-most of us Arabic script that will be displayed on the screen...but there will be options for French and English, too, so no need to freak out over the script). The risks of using a debit card are exactly the same -- that is, very minimal, as long as you have any common sense ("skimmers", someone peeking over your shoulder for the PIN then mugging you, etc.). There are ATMs at the airport and at banks all over the place, just like at home. Use the same common sense as you would anywhere, and the results will be exactly the same.
It's easy to be spooked by the idea of Morocco: Islamic, African, exotic. Yes, it is all of those things, but there's nothing spooky or particularly dangerous about it (well, driving in Marrakech is a challenge...). You will be surprised at how familiar and "normal" it feels. Worth noting: Morocco is a major mass tourism destination (think Cancun, not Kabul). Visiting and being in Morocco is easy, not really significantly more difficult than say, Sicily or Cabo San Lucas. Anyone who ever deals with tourists will speak French and English (if you can only manage a few words in bad, long-forgotten high school French, you will be fine). English is widely spoken by most people you will ever have to deal with. You will be surprised at how easy it all is.
Have fun, it's a great place to visit.