Troubles with PHP Eclipse and DBG |
Site Admin
|
1) seems you run debug using 10001 and you check 7869 port using telnet. Debugger, depending on the settings, uses just one port, not both.
2) why telnet localhost 7869? Are you using localhost for debugging? Anyway, it's up to PHPEclipse to listen on 7869 or 10001 port, so please flame on guys behind PHPEclipse, please. |
||||||||||||
|
|
Sorry, didn't meant to flame, I just tryed for hours to make it work with no results, and was a little frustrated.
Before I posted the previous message I didn't know that I could run dbg-cli whith the "run" command (my fault). I only tried the "listening" one. I made it work with the first command, but not with the second. I was checking 7869 port because, when I did "netstat -naop|grep dbg-cli", when dbg-cli is running "listen" command I got somthing like this: $ netstat -naop|grep dbg-cli (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 0.0.0.0:33752 0.0.0.0:* LISTEN 7302/dbg-cli off (0.00/0/0) It says that dbg-cli is listenning on 33752 port, although the "show port" says 10001. When in my url I added "?DBGSESSID=1@localhost:33752" I got this: DBG Failed to start debug session reason: failed to establish connection to client host on localhost:7869 thats why I assumed it looked for the server on 7869. Any idea of why it behaves like that? Should I tell apache to listen on 10001 port? |
||||||||||||
|
Site Admin
|
try set port 7869, then listen 100 and check if it listens on 7869 (should do it)
no, of course Apache's port is by default 80 and if you use any other port, it should be reflected in the URL you run with. |
||||||||||||||
|
|
Yes, that did it! thank you!, now to flame PHPEclipse guys! (joking) :P
|
||||||||||||
|
Troubles with PHP Eclipse and DBG |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by