From e1a13418ab20b4064b453be5898595666e1dfdeb Mon Sep 17 00:00:00 2001 From: Roland Franssen Date: Fri, 6 Dec 2019 16:05:43 +0100 Subject: [PATCH] enable query profiling for debug --- doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml b/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml index c052bb0b..2f04bf2e 100644 --- a/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml +++ b/doctrine/doctrine-bundle/1.12/config/packages/doctrine.yaml @@ -1,6 +1,7 @@ doctrine: dbal: url: '%env(resolve:DATABASE_URL)%' + profiling_collect_backtrace: '%kernel.debug%' # IMPORTANT: You MUST configure your server version, # either here or in the DATABASE_URL env var (see .env file)