One social trick to have high-quality discussions at a dinner party.
Have a too-small space, with a small enough group of people that everyone can be in one conversation.
There's nowhere to go to pull out your phone, and in such a small, close space it would be socially awkward if you did.
Everyone is forced to "be here now," and by being present the conversation becomes inherently engaging.