I stumbled upon this question from two years ago.
Is there a way to get the raw SQL string executed when calling PDOStatement::execute() on a prepare
Afaik, PDO doesn't really expose it to you. On development servers, you could enable the general query log for MySQL (if that's what you use), with possibly more control with sql_log_off, which does require the SUPER privilege.