On a windows host, I got this to work by using the IPv4 address used by the vEthernet (DockerNAT) connection. Just check your network connections, view that specific connection’s details to get the ip address and plug that into your xdebug.remote_host. I also had to enable remote_autostart (for some reason, I could never get xdebug to trigger using GET/POST/cookies)
georaldc
(Georald Camposano)
32
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| [solved] How to setup xdebug and phpstorm | 23 | 52005 | July 26, 2018 | |
| Xdebug on docker with PhpStorm doesn't work | 2 | 6019 | July 26, 2018 | |
| Xdebug doen't connect: Virtualhosts with Apache2 and PHP-FPM | 2 | 4114 | October 8, 2016 | |
| [Solved] Cannot connect phpstorm debugger to container running php | 2 | 10546 | July 21, 2016 | |
| Getting xdebug to work with my container | 17 | 25193 | May 3, 2024 |