Add debugger to display executed sql statements for prisoner simple query