You could just use `%kernel.debug%`