[eluser]kreamik[/eluser]
i think for debugging mode CI provide active record that is $this->db->last_query(),
but it seems we cannot partially debug on the sql query because the last query generated after CRUD operation ( i think .. )
but if you really want to know you can print that object ( $this->db ) to see what properties has been add to the query ..
you can print it to log files too