NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Problem with concurrent debugging with SSH port forwarding


Joined: 13 May 2004
Posts: 2
Location: canada montreal
Reply with quote
We have to use remote SSH forwarding of port 10000 and local fwd. of 7869 to debug PHP scripts running on a Linux Apache server. In this mode, when one user has a debug session open (and a ssh session to the linux machine running Apache with libphp4) a second user cannot open a debug session to the same machine, so that means that although we have bought several licenses,we can actually use only one of them. What would be the solution to this situation? Any dbg settings in the [debug] section of php.ini? Any other forwarding method?

Thanks
View user's profileFind all posts by mromascanuSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
You only have to forward dbglistener's listening socket to the server.
Suppose you have 3 developers in your team.
Each runs DbgListener on different port (10000, 10001, 10002).
Each runs ssh that forwards this port to the same remote port (namely 10000, 10001 and 10002). They also have to set these ports in their IDEs: tools->settings->debugger->debugger port.
Php.ini settings should be adjusted to allow connections on these ports:
debugger.ports=10000/3
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Problem with concurrent debugging with SSH port forwarding
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic