I managed to use xdebug with a docker stack running on my own computer : https://github.com/programgames/oro-docker-xdebug-stack
to debug web page using chrome and xdebug helper extension. Nothing really special except the fact that
xdebug.remote_host is the ip of the host on linux and docker.for.mac.localhost on macos
I actually use this config :
error_reporting = E_ALL
display_startup_errors = On
display_errors = On
But now, i need to run this stack remotely on server and still debug from my computer ( MacOs ) .
I read many tutorial about how to debug remotly but no one was enough good to explain how to configure it with Docker.
Well, my questions are :
To debug remotely what should be the xdebug.remote_host. value ? my private/public ip ? my server private/ip ?
Do I need an ssh port fordwarding ?
Do i need to setup a dbgp proxy on server and in PhpStorm config ?
If yes , what is the config ? port / ip ?
What should be xdebug port in this case ?