NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
How DBG works ?


Joined: 28 Apr 2004
Posts: 1
Reply with quote
Hi everybody,

could someone tell me if I understand correctly how DBG work ?
My apache/php server is a linux/debian machine (php 4.1.2, dbg 2.11)
My developpement machine is a winXP, running PHPEdit (0.8.0.25) and DBG Listener(2.11.23).

when i put a breakpoint in my script from phpedit, phpedit send a request to Apache/php/DBG via http protocol.
DBG works together with php and send his answer to DBGListener on port 7869 (by default) on the winXP machine.
DBGListener talks with phpedit to let him show, for example variables.

Is that correct ? Is there a need of port that should be opened on the linux or on the winWP machine ? I seem logical to me the 7869 should be opened on both ??

Thanks for your answers Very Happy

Laurent
View user's profileFind all posts by ledSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
TCP/7869 should be opened on the server for outgoing connections
TCP/7869 should be opened on the client machine for incoming connections (it is a listener or a server in networking terms).
If there is a NAT router between server and client you have to set it up accordingly (it should have 7869 port pointing to your client machine IP).

You can forget about all said above if you start using SSH and DBG over SSH. Unfortunately, it can hardly be done in PHPEDIT...
As for PHPED see the link below:
http://forum.nusphere.com/howto-run-debug-session-through-ssh-t580.html
View user's profileFind all posts by dmitriSend private messageVisit poster's website
How DBG works ?
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