Deal-making rebounds as private debt sees record Q2