Skip to content

Commit b19c543

Browse files
committed
feature #1451 Enable backtraces in Doctrine profiler (GromNaN)
This PR was merged into the main branch. Discussion ---------- Enable backtraces in Doctrine profiler I didn't know about this feature. It's very useful to find the origin of a specific query from the doctrine profiler panel. I think it's a good idea to activate it on symfony/demo, as it allows you to demonstrate this functionality. <img width="971" alt="image" src="https://github.com/symfony/demo/assets/400034/6aec0f4f-cbf2-4b99-9837-96a9a53c9666"> Commits ------- 97fa789 Enable backtraces in Doctrine profiler
2 parents 8cb63a5 + 97fa789 commit b19c543

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/packages/doctrine.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,8 @@ when@prod:
4343
adapter: cache.app
4444
doctrine.system_cache_pool:
4545
adapter: cache.system
46+
47+
when@dev:
48+
doctrine:
49+
dbal:
50+
profiling_collect_backtrace: true

0 commit comments

Comments
 (0)