I thought Sam Harris’ book Free Will settled that debate.
Harris is a neuroscientist and a philosopher. He has decades of experience in vipassana meditation. His book examines free will from all sides — scientific/philosophical and objective/subjective — and concisely proves, beyond any doubt, that there is no such thing.
Most people find that realization unsettling. At first, so did I. But ultimately, the acceptance of the absence of free will is very liberating. It generates compassion for people who are less fortunate than you are; it highlights how pointless it is to ruminate on regrets; and it helps you see that you are not the thinker of your thoughts, they are random appearances in consciousness and you do not have to identify with them.