a way to debug notorm queries