This code snippet will list all the queries executed on your WordPress page
Add this to the bottom of the page:

<?php
if (current_user_can(‘administrator’)){
global $wpdb;
echo “<pre>”;
print_r($wpdb->queries);
echo “</pre>”;
}
?>