views:

35

answers:

1

I have the following use case for debugging a PHP application:

  • The developer does have a private IP address
  • The developer can connect only to a limited number of ports from the server, like 80, 8080, 3128, others being limited by the outgoing firewall. Still if the outgoing requests are HTTP he could use a proxy that does not have this limitation.
  • the server machine is fully configurable

Is is possible to use xdebug in this circumstance? How?

It is possible to establish a VPN but this is not an easy solution so I would prefer a simplified one.

A: 

The solution I found was to use putty to forward the port 9000 from the server to the client (IDE).

putty configuration screenshot

Sorin Sbarnea