To add SQL queries details to your Bugsnag reports in Symfony, you will need to update the configuration to enable this feature:

# config/packages/easy_bugsnag.yaml

easy_bugsnag:
    api_key: '%env(BUGSNAG_API_KEY)%'

    doctrine_dbal: true

Additionally, you can explicitly define the connections you want to log the queries for:

# config/packages/easy_bugsnag.yaml

easy_bugsnag:
    api_key: '%env(BUGSNAG_API_KEY)%'

    doctrine_dbal:
        enabled: true
        connections:
            - default
            - secure

That's it! Yes, for real... You are all setup to start logging SQL queries into your reports.