Ничто, что я пробовал. Symfony/Web-Profiler-bundle , symfony/var-dumper
[*]
Код: Выделить всё
config/bundles.php[*] config/packages/web_profiler.yaml:
Код: Выделить всё
when@prod:
web_profiler:
toolbar: true
intercept_redirects: false
framework:
profiler:
enabled: true
collect: true
only_exceptions: false
Код: Выделить всё
_wdt:
resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
prefix: /_wdt
_profiler:
resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
prefix: /_profiler
Код: Выделить всё
Symfony\Component\HttpKernel\Profiler\Profiler:
alias: profiler
Я создал файл src/eventsubscriber/profilersubscriber.php:
Код: Выделить всё
Подробнее здесь: [url]https://stackoverflow.com/questions/79729485/symfony-debugbar-on-a-production-server[/url]
Мобильная версия