Symfony 4.4.18 debug toolbar not showing in local docker host
I have created a full symfony project (composer create-project composer create-project symfony / website-skeleton myproj "^ 4.4.18").
After having configured the environment variables (trusted_host, database_url, etc …).
-
If I run php -S 127.0.0.1:8000 -t public /
=> Everything works perfectly. I have the symfony welcome page with the debug toolbar
-
On the other hand, if I access it from a host in my local docker workspace (I use nginx): everything appears fine like the other EXCEPT the debug toolbar
While for the docker environment, the php is in version 7.4.14 and with an xdebug v3.0.1 installed and activated.
and I even made sure that /var/cache/ was in chmod -R 777.
could someone help me display this debug toolbar?
Thanks
Source: Docker Questions