NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
getting dbg to work with PHP Expert Editor


Joined: 09 Jul 2004
Posts: 2
Reply with quote
I am trying to get dbg to work, got everything fine, but:

DBG

Failed to start debug session

reason:
failed to establish connection to client host on 127.0.0.1:7869

?????

I am running apache 1.3.31 and dbg php_dbg 4.3.3rc1 on an NT 4.0 SP6a server (10.0.0.151). I run the editor (PHP Expert Editor) from a W98 client (10.0.0.150). I can telnet to port 7869 on 10.0.0.150 and establish a connection (nothing else happens).

php.ini looks like this

[debugger]
debugger.enabled=on
debugger.hosts_allow=10.0.0.150
debugger.ports=7869

phpinfo() shows this in the header:

This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with DBG v2.11.23, (C) 2000,2001,2002,2003, by Dmitri Dmitrienko

and under dbg

DBG php debugger, version 2.11.23, Copyright 2001, 2002, Dmitri Dmitrienko, www.nusphere.com/dbg

but also under apache environment

HTTP_COOKIE DBGSESSID=1@127.0.0.1:7869

dbglistener settings are
ip address 10.0.0.150
port 7869
IDE COM Class PHP Expert Debugger
codepage west-europees (windows)
breakpoint on script start on
breakpoint on script finish on
disable checking for update off


When in php.ini debugger.enabled=off, everything works fine.

What am I doing wrong here?
View user's profileFind all posts by julsingSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
I'm not familar with PHP Expert Editor. Seems it passed 127.0.0.1 instead of clienthost keyword. In latter case dbg would determine your client IP by itself and connect back to the listener. In case of IP address passed, DBG does not change it and tries to connect to the listener at the address provided.

NOTE, IP-based security is NOT implemented in dbg 2.11 (freeware version) and therefore debugger.hosts_allow=10.0.0.150 line has no sense...
View user's profileFind all posts by dmitriSend private messageVisit poster's website
DBG


Joined: 09 Jul 2004
Posts: 2
Reply with quote
Dmitri,

I got some help from Andrey (PHP Expert Editor) and everything runs beautiful now.

Thanks anyway!


Regards,

Frank Julsing
View user's profileFind all posts by julsingSend private message
getting dbg to work with PHP Expert Editor
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