Browse Source

[CONFIG][DEV][DOCTRINE] Add doctrine stacktrace tracking in dev mode

remotes/upstream/experimental
Hugo Sales 1 year ago
parent
commit
a9b6bc78a6
Signed by: someonewithpc <hugo@hsal.es> GPG Key ID: 7D0C7EAFC9D835A0
2 changed files with 4 additions and 0 deletions
  1. +3
    -0
      config/packages/dev/doctrine.yaml
  2. +1
    -0
      config/packages/doctrine.yaml

+ 3
- 0
config/packages/dev/doctrine.yaml View File

@@ -0,0 +1,3 @@
doctrine:
dbal:
profiling_collect_backtrace: true

+ 1
- 0
config/packages/doctrine.yaml View File

@@ -3,6 +3,7 @@ doctrine:
url: '%env(resolve:DATABASE_URL)%'
charset: UTF8
schema_filter: ~^(?!rememberme_token)~ # Ignore these in migrations
profiling_collect_backtrace: true
orm:
auto_generate_proxy_classes: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware


Loading…
Cancel
Save