NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
debug listener problems


Joined: 03 Nov 2005
Posts: 1
Reply with quote
I am a new user of PHPEd looking for a good debugger. I had no problem with the internal server but not having so much luck with Apache. I have followed the installation and configuration steps to the letter, as far as I can tell.

I am using the evaluation version (Build 4033eval) with PHP 5.0.4 and Apache 2.0.54 on localhost.

What is the method of connecting the browser to the debugger? Do I need an argument in the URI or is
http://localhost/module.php supposed to start a debug session automatically? The script runs fine, it just doesn't stop at the breakpoint.

How would I specify localhost in the php.ini [debugger] section? I have this not working:

extension=php_dbg.dll-5.0.4
[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=xxx.xxx.xxx.xxx localhost myhost_mydomain_com
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16

(the hosts_allow contains real addresses).

The manual indicates I must have Zend Engine v1.3.0 with DBG v2.16, but I have this (quote from phpinfo()):

"This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies
with Xdebug v2.0.0beta3-dev, Copyright (c) 2002, 2003, 2004, by Derick Rethans
with DBG v2.18.2, (C) 2000,2005, by Dmitri Dmitrienko"

Will I be able to get remote debugging working in this environment, or is my PHP configuration not compatible with this PHPEd?

I have turned off register_argc_argv and register_long_arrays.

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

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
[quote]with Xdebug v2.0.0beta3-dev, Copyright (c) 2002, 2003, 2004quote]
You may not have more than one php debugger.
I'd recommend you comment off xdebug.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
debug listener problems
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