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

bib*_*seb 3 shopware6

阅读此https://developer.shopware.com/docs/guides/plugins/apps/app-scripts#developing-debugging-scripts后,我更新了 .env 文件并将“dev”设置为 APP_ENV 值,但调试栏是没有显示在店面的任何地方。

还有其他事情要做吗?

我本地的 Shopware 版本是 6.4.18.0

dne*_*adt 10

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

composer require shopware/dev-tools
Run Code Online (Sandbox Code Playgroud)

  • 使用 shopware-installer.phar.php 文件安装 6.5 时,我遇到了同样的问题。运行composer命令解决了它。 (2认同)