first step to a debug mode to view sql queries