adding SQL debugger