Debuguje sobie kod ze zdalnego serwera. Problem jest taki, ze na xdebug.ini mam na stale wbite remote_host. IP mojego kompa. Da rade zrobic tak, zeby xdebug wysylal sesje do kazdego IP. Nie tylko na wybrany. Mam zmienne IP i wkurza mnie jak musze coraz to zmieniac te IP w konfiguracji serwera. wrrrr...
PHPStorm + xdebug
- Rejestracja: dni
- Ostatnio: dni
- Postów: 1666
0
- Rejestracja: dni
- Ostatnio: dni
- Postów: 110
0
W dokumentacji xdebug'a https://xdebug.org/docs/all_settings#remote_connect_back jest opisana opcja
xdebug.remote_connect_back
If enabled, the xdebug.remote_host setting is ignored and Xdebug will try to connect to the client that made the HTTP request.
Osobiście nie korzystałem z tego, ale z opisu wynika, że powinna pomóc.