There is no way to get the SQL query, you need to create another class that extends the PDO, where you need to define your code which does this task.
Here one URL to create a custom class for the PDO debugging:
http://daveyshafik.com/archives/605-debugging-pdo-prepared-statements.htmlIf you need a simple output then try var_dump for the $db which print the entire statistics.
Else in the mysql.log file settings in the my.ini, is also another alternative.
hope this helps