NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
DBG on windows, WAMP5 nusphere trial


Joined: 18 Apr 2008
Posts: 3
Reply with quote
Hi,
Ive installed DBG on my windows test box.
Initially I installed the free dbg-2.15.5-win32.zip and it shows up in phpinfo just fine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with DBG v2.15.5, (C) 2000,2007, by Dmitri Dmitrienko

I then installed the NuSphere Trial, and put the dbg-wizard.php in the root folder of a virtual host
I see that:

* PHP Version: 5.2.5
* Web Server: Apache/2.2.6 (Win32) PHP/5.2.5
* Server Name: mywebserver
* OS: WINNT
* Your Client IP Address: 127.0.0.1
* Your Server IP Address: 127.0.0.1
* Port: 80
* Your Web Server is on the same machine with PhpED
* Path to website files: C:\wamp\www\myvhost\
* Document Root is: C:\wamp\www\myvhost\\ **note the double backslashes?
* Your PHP.INI file is C:\wamp\bin\apache\apache2.2.6\bin\php.ini
* PHP extensions directory is c:\wamp\bin\php\php5.2.5\ext\
* DBG (PHP DEBUGGER) Version 2.15.5 is INSTALLED


setup

# Project -> Root Directory: C:\wamp\www\myvhost\
# Mapping -> Run Mode: HTTP Mode (3-rd party WEB server)
# Mapping -> Remote URL: http://mywebserver/
# Mapping -> Remote Root Directory: C:\wamp\www\myvhost\ , same as Project -> Root Directory.

changed the settings in nusphere as above

in php.ini its a bit messy a mix between what was detailed in the free docs and what is specified in the nusphere related ones:

[debugger]
debugger.enabled = on
debugger.profiler_enabled = on
debugger.JIT_host = clienthost
debugger.JIT_port = 7869
debugger.ports=7869, 10000/16
debugger.hosts_allow=ALL

the project loads fine, but when run in debugger it says "failed to start debug session" please make sure the debugger module is installed on the server.

Any help would be greatly appreciated
View user's profileFind all posts by unomiSend private message
Veteran

Joined: 06 Jun 2007
Posts: 289
Location: Vancouver, Canada
Reply with quote
Quote:
# Mapping -> Remote URL: http://mywebserver/
# Mapping -> Remote Root Directory: C:\wamp\www\myvhost\ , same as Project -> Root Directory.

Your Remote URL and Remote Root Directory must point to the same computer. This does not seem to be the case. I would expect your Remote Root Directory to be something like http://localhost (unless mywebserver is indeed your test box).

If you have not done so yet, you should try the DBG Wizard (http://forum.nusphere.com/viewtopic.php?t=3116) for a diagnosis.

_________________
Smile
View user's profileFind all posts by annoSend private messageVisit poster's website


Joined: 18 Apr 2008
Posts: 3
Reply with quote
anno wrote:
Quote:
# Mapping -> Remote URL: http://mywebserver/
# Mapping -> Remote Root Directory: C:\wamp\www\myvhost\ , same as Project -> Root Directory.

Your Remote URL and Remote Root Directory must point to the same computer. This does not seem to be the case. I would expect your Remote Root Directory to be something like http://localhost (unless mywebserver is indeed your test box).

If you have not done so yet, you should try the DBG Wizard (http://forum.nusphere.com/viewtopic.php?t=3116) for a diagnosis.


i have changed hosts so that mywebserver goes to localhost,
I can load the site fine like that.

did you mean
I would expect your Remote Root url to be something like http://localhost ?

I have used the wizard, its output is in the first post
View user's profileFind all posts by unomiSend private message
resolved


Joined: 18 Apr 2008
Posts: 3
Reply with quote
Sorry, my bad.
I had the bright idea to copy the dbg.dll that came with nusphere rather then use the existing free one

all good now
View user's profileFind all posts by unomiSend private message
DBG on windows, WAMP5 nusphere trial
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