Answer the question
In order to leave comments, you need to log in
How to connect OpenVPN to Xdebug running in Docker on a remote machine?
There is a remote server with containers:
Answer the question
In order to leave comments, you need to log in
according to this instruction
1. connect via openvpn, take assigned ip
2. pass ip via environment variable XDEBUG_CONFIG="remote_host={{YOUR_IP_ADDRESS}}"
to PHP-FPM container
3. Intellij/PHPStorm: Languages & Frameworks > PHP > Debug > DBGp Proxy
set ip and port
4. Map folders to code in IDE and docker
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question