Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

impossible to have debug bar in dev mode with symfony 5.12 cli version#61432

Unanswered
aragon5956 asked this question inQ&A
Discussion options

Symfony version(s) affected

5.12.0

Description

[FRA]
bonjour, pourriez vous me dire pourquoi vous avez supprimé la barre de profilage en bas quand on active le mode developper dans le fichier environnement .env, je ne l'ai plus avec cette configuration.Pourriez vous m'aider ?
[ENG ]
hello, could you tell me why you deleted the profiling bar at the bottom when we activate the develop mode in the environment file . env, I no longer have it with this configuration. Could you help me?

alexandre@alexandre-Matebook:~/Documents/AnalyticaTechCode$ symfonySymfony CLI version 5.12.0 (c) 2021-2025 Fabien Potencier (2025-06-16T09:40:30Z - stable)Symfony CLI helps developers manage projects, from local code to remote infrastructureThese are common commands used in various situations:Work on a project locally  local:new                                                           Create a new Symfony project  local:server:start                                                  Run a local web server  local:server:stop                                                   Stop the local web server  local:check:security                                                Check security issues in project dependencies  composer                                                            Runs Composer without memory limit  console                                                             Runs the Symfony Console (bin/console) for current project  php, pecl, pear, php-fpm, php-cgi, php-config, phpdbg, phpize, pie  Runs the named binary using the configured PHP versionManage a project on Cloud  project:init              Initialize a new project using templates  cloud:domain:list         Get a list of all domains  cloud:environment:branch  Branch an environment  cloud:environment:list    Get a list of environments  cloud:environment:push    Push code to an environment  cloud:environment:ssh     SSH to the current environment  cloud:project:list        Get a list of all active projects  cloud:tunnel:open         Open SSH tunnels to an app's relationships  cloud:user:add            Add a user to the project  cloud:variable:list       List variablesShow all commands with symfony help,Get help for a specific command with symfony help COMMAND.alexandre@alexandre-Matebook:~/Documents/AnalyticaTechCode$

How to reproduce

[FRA]
éxécuter l'application web
[ENG]
run the web application

Possible Solution

No response

Additional Context

No response

You must be logged in to vote

Replies: 9 comments 7 replies

Comment options

GromNaN
Aug 10, 2025
Collaborator

Hello@aragon5956,

Symfony5.4 is not maintained for bug fixes since November 2024, date of thelast release of the version 5.

In order to get theweb profiler toolbar, ensure that you have thesymfony/web-profiler-bundle package installed.

If it's correctly enabled, the headerX-Debug-Token is added to every responses and you can browse the/_profiler URL of the application to see the latest requests.

If it's correctly installed, the issue can be with the HTML of your page. The web debug toolbar is injected by Symfony before the</body> closing tag; only if this tag is present in the page.
This is done by theWebDebugToolbarListener.

You must be logged in to vote
0 replies
Comment options

xabbuh
Aug 10, 2025
Collaborator

Symfony5.4 is not maintained for bug fixes since November 2024, date of thelast release of the version 5.

5.12 from the issue description seems to be the installed version of the Symfony CLI. :)

In order to get theweb profiler toolbar, ensure that you have thesymfony/web-profiler-bundle package installed.

This rather looks like the issue here.

@aragon5956 If installing the WebProfilerBundle does not solve the issue for, please provide more details about the steps required to reproduce it.

You must be logged in to vote
0 replies
Comment options

non ça ne fonctionne pas voici la vidéo pour preuve :

Capture.video.du.2025-08-14.20-16-20.webm

il y a une erreur de conception

You must be logged in to vote
1 reply
@GromNaN
Comment options

GromNaNAug 18, 2025
Collaborator

Does your generated HTML page contain the closing tag</body>?

Comment options

xabbuh
Aug 14, 2025
Collaborator

Please create a small example application that allows to reproduce your issue.

You must be logged in to vote
0 replies
Comment options

bah c'est ce que j'ai fais !!!

You must be logged in to vote
1 reply
@xabbuh
Comment options

xabbuhAug 15, 2025
Collaborator

Please use English for issues/discussions.

Comment options

@GromNaN je suis sous Symfony 6.4

You must be logged in to vote
0 replies
Comment options

Check if you have in your .env file :

APP_DEBUG=1
You must be logged in to vote
1 reply
@aragon5956
Comment options

non ça ne fonctionne pas

Comment options

en fait ça fonctionne sursymfony 7.xet nonsymfony 6.4.x. C'est ça la particularité
Cordialement Vôtre

You must be logged in to vote
0 replies
Comment options

[ENG] Someone could help me ?
Syncerely yours
[FRA]Quelqu'un pourrait il m'aider ?
Cordialement Vôtre

You must be logged in to vote
4 replies
@xabbuh
Comment options

xabbuhNov 6, 2025
Collaborator

As I said (see#61432 (comment)): Please create a small example application that allows to reproduce it.

@aragon5956
Comment options

@xabbuh ça marche !!! merci mais je ne sais pas pourquoi ça ne fonctionne pas dans mon projet , pourquoi ???
mon composer.json contient :

{    "type": "project",    "license": "proprietary",    "minimum-stability": "stable",    "prefer-stable": true,    "require": {        "php": ">=8.3",        "ext-ctype": "*",        "ext-curl": "*",        "ext-iconv": "*",        "ext-openssl": "*",        "ext-zip": "*",        "doctrine/doctrine-bundle": "^2.10",        "doctrine/doctrine-migrations-bundle": "^3.2",        "doctrine/orm": "^2.15",        "gedmo/doctrine-extensions": "^3.5",        "hackzilla/password-generator": "^1.6",        "php-ffmpeg/php-ffmpeg": "^1.1",        "phpdocumentor/reflection-docblock": "5.3.0",        "phpstan/phpdoc-parser": "^1.2",        "sensio/framework-extra-bundle": "^6.1",        "stripe/stripe-php": "^17.3",        "symfony/apache-pack": "^v1.0.1",        "symfony/asset": "v6.4.0",        "symfony/console": "v6.4.2",        "symfony/doctrine-messenger": "v6.4.2",        "symfony/dotenv": "v6.4.2",        "symfony/expression-language": "v6.4.2",        "symfony/flex": "^1.17|^2",        "symfony/form": "v6.4.1",        "symfony/framework-bundle": "v6.4.2",        "symfony/google-mailer": "6.*.*",        "symfony/http-client": "v6.4.2",        "symfony/http-foundation": "6.*.*",        "symfony/intl": "v6.4.2",        "symfony/mailer": "6.*.*",        "symfony/mime": "v6.4.0",        "symfony/monolog-bundle": "^3.0",        "symfony/notifier": "v6.2.7",        "symfony/password-hasher": "v6.4.0",        "symfony/process": "v6.4.2",        "symfony/property-access": "v6.4.0",        "symfony/property-info": "v6.4.0",        "symfony/proxy-manager-bridge": "v6.4.0",        "symfony/requirements-checker": "^2.0",        "symfony/runtime": "*",        "symfony/security-bundle": "v6.4.2",        "symfony/security-csrf": "6.*.*",        "symfony/serializer": "v6.4.2",        "symfony/string": "v6.4.2",        "symfony/translation": "v6.4.*",        "symfony/twig-bundle": "v6.4.0",        "symfony/validator": "v6.4.2",        "symfony/web-link": "v6.4.0",        "symfony/webapp-meta": "^1.0",        "symfony/webpack-encore-bundle": "^1.13",        "symfony/yaml": "v6.4.0",        "twig/extra-bundle": "^2.12|^3.0",        "twig/twig": "^2.12|^3.0"    },    "config": {        "allow-plugins": {            "composer/package-versions-deprecated": true,            "symfony/flex": true,            "symfony/runtime": true,            "php-http/discovery": true        },        "optimize-autoloader": true,        "preferred-install": {            "*": "dist"        },        "sort-packages": true    },    "autoload": {        "psr-4": {            "App\\": "src/"        }    },    "autoload-dev": {        "psr-6": {            "App\\Tests\\": "tests/"        }    },    "replace": {        "symfony/polyfill-ctype": "*",        "symfony/polyfill-iconv": "*",        "symfony/polyfill-php72": "*"    },    "scripts": {        "auto-scripts": {            "cache:clear": "symfony-cmd",            "assets:install %PUBLIC_DIR%": "symfony-cmd",            "requirements-checker": "script"        },        "post-install-cmd": [            "@auto-scripts"        ],        "post-update-cmd": [            "@auto-scripts"        ]    },    "conflict": {        "symfony/symfony": "*"    },    "extra": {        "symfony": {            "allow-contrib": false,            "require": "6.*.*"        }    },    "require-dev": {        "phpunit/phpunit": "^12.4",        "symfony/browser-kit": "6.4.*",        "symfony/css-selector": "6.4.*",        "symfony/debug-bundle": "6.4.*",        "symfony/maker-bundle": "^1.0",        "symfony/stopwatch": "6.4.*",        "symfony/web-profiler-bundle": "6.4.*"    }}

et dans web_profiler.yaml , il y a ceci comme contenu :

web_profiler:    toolbar: true    intercept_redirects: falseframework:    profiler: { only_exceptions: false }

De plus, je peux prouver mon problème en vidéo:
Capture vidéo du 2025-11-07 11-00-15.webm

Cordialement

@stof
Comment options

stofNov 7, 2025
Collaborator

this video is useless for us. It does not allow us to look at the browser console to check whether there is some errors reported, or to inspect the code to debug the issue.
That's why we are asking for a reproducer of the issue.

@aragon5956
Comment options

je n'ai pas de problème dans la console ! aucune erreur ne s'affiche !

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
5 participants
@aragon5956@GromNaN@stof@xabbuh@alinceDev
Converted from issue

This discussion was converted from issue #61380 on August 15, 2025 14:05.


[8]ページ先頭

©2009-2025 Movatter.jp