How can you use php xdebug if you are on NAT behind a firewall? -
i have following use case debugging php application:
- the developer have private ip address
- the developer can connect limited number of ports server, 80, 8080, 3128, others being limited outgoing firewall. still if outgoing requests http use proxy not have limitation.
- the server machine configurable
is possible use xdebug in circumstance? how?
it possible establish vpn not easy solution prefer simplified one.
the solution found use putty forward port 9000
server client (ide).
just configure xdebug connect localhost
instead of ip address client (ide) running on:
xdebug.remote_host = localhost xdebug.remote_port = 9000 xdebug.remote_connect_back = 0
there a nice article called remote debugging php firewall in way describing , xdebug configuration , ssh port forwarding method.
Comments
Post a Comment