The Pali suttas say the Dhamma is taught only to those who are interested, per AN 9.5:
The best sort of kindly speech is to teach the Dhamma again and again
to someone who is engaged and who lends an ear.
Etadaggaṃ, bhikkhave, peyyavajjānaṃ yadidaṃ atthikassa ohitasotassa
punappunaṃ dhammaṃ deseti.
The Pali suttas say debate is not the purpose of Dhamma, per MN 22:
They just memorize the teaching for the sake of finding fault and
winning debates. They don’t realize the goal for which they memorized
them. Because they’re wrongly grasped, those teachings lead to their
lasting harm and suffering. Why is that? Because of their wrong grasp
of the teachings.
The Pali suttas generally show the Buddha debated people who visited him to debate him, such as MN 35:
Now at that time Saccaka, the son of Jain parents, was staying in
Vesālī. He was a debater and clever speaker regarded as holy by many
people. He was telling a crowd in Vesālī: “If I was to take them on in
debate, I don’t see any ascetic or brahmin—leader of an order or a
community, or the teacher of a community, even one who claims to be a
perfected one, a fully awakened Buddha—who would not shake and rock
and tremble, sweating from the armpits".
Hopefully, some time or other I’ll get to meet Master Gotama, and we
can have a discussion. And hopefully I can dissuade him from his