Symfony 6调试工具栏未显示

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

Symfony 6 debug toolbar not showing

问题

我正在使用Symfony 6.3,但未看到调试工具栏。

我已安装web-profiler和debug-bundle。我的env文件设置为APP_ENV=dev。我的web_profiler.yaml设置为toolbar=true。

还有什么我需要检查的吗?

英文:

I'm using Symfony 6.3 but not seeing the debug toolbar.

I have the web-profiler and debug-bundle installed. My env file is set to APP_ENV=dev. My web_profiler.yaml is set to toolbar=true.

What else might I need to check here?

答案1

得分: 4

工具栏将附加在</body>标签关闭之前。因此,它只会在您的HTML文档包含<body>时显示。

英文:

The toolbar is appended just before the closing of the &lt;body&gt; tag. Therefore, it will only show if your HTML document contains a &lt;body&gt;

huangapple
  • 本文由 发表于 2023年7月3日 18:14:08
  • 转载请务必保留本文链接:https://go.coder-hub.com/76603805.html
匿名

发表评论

匿名网友

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

确定