You may directly inject `%kernel.debug%` here, but you also might want to abstract this parameter somehow so that it can be easily overridden in parameters.yml or anywhere else.