Shopware 6在APP_ENV=dev模式下不显示调试工具栏。

huangapple go评论71阅读模式
英文:

Shopware 6 with APP_ENV=dev does not display the debug toolbar

问题

After reading this https://developer.shopware.com/docs/guides/plugins/apps/app-scripts#developing-debugging-scripts, I updated the .env file and set "dev" as APP_ENV value but the debug bar is not displayed anywhere in the storefront.

Is there something else to do?

My local Shopware version is 6.4.18.0.

英文:

After reading this https://developer.shopware.com/docs/guides/plugins/apps/app-scripts#developing-debugging-scripts, I updated the .env file and set "dev" as APP_ENV value but the debug bar is not displayed anywhere in the storefront.

Is there something else to do?

My local Shopware version is 6.4.18.0

答案1

得分: 9

如果您通过composer create-project shopware/production使用了Symfony Flex模板,您还需要额外安装shopware/dev-tools
composer require shopware/dev-tools

英文:

If you used the Symfony Flex template via composer create-project shopware/production you have to additionally install shopware/dev-tools

composer require shopware/dev-tools

huangapple
  • 本文由 发表于 2023年5月25日 16:56:35
  • 转载请务必保留本文链接:https://go.coder-hub.com/76330501.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定