Only show the query when the kernel is in debug mode