Skip to content

Commit

Permalink
Debug the backtrace of all SQL queries in dev
Browse files Browse the repository at this point in the history
This allows developer to follow the origin of an SQL request. Pretty cool for performance tuning!
  • Loading branch information
jacquesbh committed Nov 10, 2020
1 parent 4b35892 commit 33375ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/packages/dev/doctrine.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
doctrine:
dbal:
connections:
default:
profiling_collect_backtrace: '%kernel.debug%'

0 comments on commit 33375ae

Please sign in to comment.