NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
PHP Debugger problem


Joined: 17 Nov 2009
Posts: 1
Reply with quote
Hi
I am just evaluating PhpED with a view to buying it, probably later today as it is on sale. It looks great so far but I am having problems with the debugging feature. I am fairly new to PHP programming but an experienced in VB so the IDE's concepts make sense.

When I try to start my test PHP file in debug mode it displays the follwoing message ...

"New debug session with //myserver/target/regions.php has started. But IDE could not find the project for the web debugging. Breakpoints and other features may fail to work."

I've tried adding breakpoints and sure enough it ignores them. Being able to step through my code is going to be very useful as I get to grips with PHP

My set-up is as follows ...

Apache Server - ServerName is myserver (not a domain I own, just a test, surfing for it gets to some Oregon association)

Server's root is set to C:\ApacheRoot\public_html

The php file is actually in folder C:\ApacheRoot\public_html\target and is called regions.php

The php file accesses a database logon script under a "private" folder which is outside of the public_html root, e.g. c:\ApacheRoot\dbaccess

I found some help in PhpED for having this kind of set-up and have done the following ...

In the Properties, cleared the "Root URL" and "Remote root directory" in the Mapping section.

Under the mapping tab I have added two extra maps ...

1) Remote = C:\ApacheRoot\dbaccess
Local = C:\ApacheRoot\dbaccess
URL = <blank>

2) Remote = C:\ApacheRoot\public_html
Local = C:\ApacheRoot\public_html
URL = http://localhost

The last entry in the mapping list was already there and is as follows ...

3) Remote = <blank>
Local = C:\ApacheRoot
URL = <blank>

I thought that would all do the trick but no amount of tweaking is getting me round this issue.

I am thinking its something to do wiht the debugger mentioning myserver ?

Do I need to configure my PC to know that myserver is really localhost or something? If so how would I do that (not a PhpED question I realise)

Thanks

Simon
View user's profileFind all posts by roguesolutionsSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Simon,
I'd highly recommend you to use Project Settings Wizard. It will ask you for all necessary details in quite simple form and what important will check the results and perform necessary diagnostics.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
PHP Debugger problem
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