Symfony - debug and profiler toolbar is not displayed
Hi,
I stopped seeing the profiler and debug toolbar in Symfony. I don't even realize what I've been changing lately. Can anyone advise me what to check to see the Symfony profiler toolbar again?
Thanks
Hello,
if the toolbar with profiler and debug stopped appearing in Symfony, do min. this setting check:
framework.yaml
------------------------------------------------------------------------
profiler:
enabled: true
collect: true
As for the logs, try changing APP_ENV to dev in the .env file
------------------------------------------------------------------------
APP_ENV=dev
monolog.yaml for dev:
------------------------------------------------------------------------
I stopped seeing the profiler and debug toolbar in Symfony. I don't even realize what I've been changing lately. Can anyone advise me what to check to see the Symfony profiler toolbar again?
Thanks
REPLY
Hello,
if the toolbar with profiler and debug stopped appearing in Symfony, do min. this setting check:
framework.yaml
------------------------------------------------------------------------
profiler:
enabled: true
collect: true
As for the logs, try changing APP_ENV to dev in the .env file
------------------------------------------------------------------------
APP_ENV=dev
monolog.yaml for dev:
------------------------------------------------------------------------
monolog:
handlers:
main:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
channels: ["!event"]
console:
type: console
process_psr_3_messages: false
channels: ["!event", "!doctrine", "!console"]