NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Setting up DeBugger with a WIndows/Linux *resolved*


Joined: 25 Oct 2005
Posts: 5
Reply with quote
Hi all,

Maybe I'm being dense but I canlt seem to get the debugger working, if anyone could offer pointers I'd be really greatful.

Setup - access ONLY from local LAN
-------
* 1 Suse Linux 9.3 webserver running Apache 2 and PHP 5.0.3 - DBG module properly installed
all web-relevant files are stored in /var/www/htdocs

* 1 main development box running Windows XP Pro. Mapped drive Y:\ which is linked to /var/www/htdocs on the Linux server

Within PhpED
---------------
Project Properties
Project: Y:\test.ppj
Root Dorectory: Y:\

Mapping
Run Mode: HTTP Mode (3rd Party web server)
Root URL http://myserver/ [correct setting in windows/system32/drivers/etc/hosts]
Remote root directory: /srv/www/htdocs/

From Setting Dialog:
IDE Settings Set to HTTP mode (3rd Party Web Server]

The (first) problem
----------------------
I load one of my PHP source files into PhpED and go to Run > Run in Debugger and get the follwoing popup:

"File Y:\test.php does not belong to any project in currently opened workspace. Remote debugging is unavailable."

... which is patently untrue Smile

Everything sesm to be running fine other than the fact it wonlt let me debug "remotely", so I guess my first question is "help" and my second is, because it;s mapped to a network drive does it make it a remote project or a local one?

TIA

MrCrussell
View user's profileFind all posts by MrCrussellSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
as a quick-n-dirty workaround, please map Y: as /var/www and correct project settings to
project root-> Y:\htdocs\
remote root-> /var/www/htdocs/
root url-> http://myserver/
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 25 Oct 2005
Posts: 5
Reply with quote
Lovely Smile Works a treat ...

Now if I can only get round the "connection to the client address 192.168.1.3:7869is not allowed" error via ZoneAlarm I'm sorted - but I guess that's an issue for a different thread Smile

Cheers!

MrCrussell
View user's profileFind all posts by MrCrussellSend private message
Setting up DeBugger with a WIndows/Linux *resolved*
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