NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
HOWTO: Have Multiple Developers debugging on the same server


Joined: 08 Nov 2004
Posts: 3
Location: Brazil
Reply with quote
I know to use ssh to pump port 7869 and be able to debug by executing this line on the client machine before I start my PHPed:

Code:
ssh -R 7869:localhost:7869 myuser@myserver


It works if you also change the Tools/Settings/Debugger/Debugger Host to localhost (first uncheck the Auto Select Host checkbox).

Now, how to make multiple developers do this at the same time? They will be on different client machines but debugging code on the same server.

Thanks
View user's profileFind all posts by opedrosoSend private messageAIM Address
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Everyone should have their own port for debugging.
E.g. ssh -R 7870:localhost:7870 myuser2@myserver
Certainly, you'll have to change Debugger's port too and list all the ports in the "allowed" list in php.ini:

[debugger]
debugger.hosts_allow=localhost
debugger.ports=7869, 7870, 7871
or
debugger.ports=7869/3
(means 7869 and higher, total 3)
View user's profileFind all posts by dmitriSend private messageVisit poster's website
HOWTO: Have Multiple Developers debugging on the same server


Joined: 08 Nov 2004
Posts: 3
Location: Brazil
Reply with quote
Thanks for the quick reply!

Everything works now!
View user's profileFind all posts by opedrosoSend private messageAIM Address
HOWTO: Have Multiple Developers debugging on the same server
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