Added feature #15425: [develop] debug all sql queries