FriendsOfShopware / FroshProfiler

This plugin allows you to profile your Shopware 5 application
MIT License
159 stars 41 forks source link

Runing dump with shopware on Docker #90

Closed KokidkoEvhen closed 4 years ago

KokidkoEvhen commented 6 years ago

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.

Webmasterei commented 5 years ago

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:

shyim commented 5 years ago

Are you executing the command in the same Container?

Webmasterei commented 5 years ago

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