FriendsOfShopware/FroshProfiler

Runing dump with shopware on Docker

KokidkoEvhen opened this issue · 3 comments

I run ./bin/console server:dump --format=html > dump.html inside docker container, then use dump($x) in my service, but in dump.html there is no info.
Inside the container i have such message Server listening on tcp://127.0.0.1:9912, but my shop on local machine has http://10.100.111.46 address.
Also tried to run docker exec shopware-docker_app_server_1 ./bin/console server:dump --format=html > dump.html And also zero result.

Same here.

Problem:
FroshProfiler works on stage-enviroment (live-alike remote machine) but not on the local docker enviroment (where I would actually need it). Database and code is a 1:1 copy.

Steps to reproduce:

  • Shoot up the SWAG Labs Docker Container.
  • Install the frog.
shyim commented

Are you executing the command in the same Container?

@shyim Yep. Anyway - working now after I deleted caches again. Thanks for the lightning-fast response.