带有 APP_ENV=dev 的 Shopware 6 不显示调试工具栏

问题描述 投票:0回答:2

读完这篇文章后https://developer.shopware.com/docs/guides/plugins/apps/app-scripts#developing-debugging-scripts,我更新了 .env 文件并将“dev”设置为 APP_ENV 值,但调试栏不会显示在店面的任何位置。

还有什么事情要做吗?

我本地的Shopware版本是6.4.18.0

shopware6
2个回答
12
投票

如果您通过

composer create-project shopware/production
使用 Symfony Flex 模板,则必须另外安装
shopware/dev-tools

composer require shopware/dev-tools

0
投票

安装分析器包:

composer require --dev profiler

© www.soinside.com 2019 - 2024. All rights reserved.