Added debugger to execute query