NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Debug File command (xDebug) in Netbeans opens wrong file location

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
lyborko



Joined: 28 Feb 2017
Posts: 2

PostPosted: Tue Feb 28, 2017 8:40 pm    Post subject: Debug File command (xDebug) in Netbeans opens wrong file location Reply with quote

I have Netbeans 8.1 and installed xDebug.
when I run "Debug File" command for the file foo.php in the folder
C:\xampp\htdocs\Philippa it goes to the CORRECT address:

http://localhost/philippa/foo.php?XDEBUG_SESSION_START=netbeans-xdebug

But now comes the strange thing.

when I run "Debug File" command for the file foo.php in the folder
C:\xampp\htdocs\Philippa\php it goes to the INCORRECT address:

http://localhost/foo.php?XDEBUG_SESSION_START=netbeans-xdebug

There are another folders, in which I can debug files without problem, except this one.

Have you any idea what is wrong?

---------------
Here is configuration : project->properties:

- Sources
> Project folder: C:\xampp\htdocs\Philippa
> Source folder: C:\xampp\htdocs\Philippa
> Web root : source folder

- Run configuration
> Configuration: default
> run as: Local website
> Project URL: http://localhost/Philippa/
> index file : index.php



[/b]
Back to top
MONIER Vincent
Posted via mailing list.





PostPosted: Tue Feb 28, 2017 8:49 pm    Post subject: Debug File command (xDebug) in Netbeans opens wrong file location Reply with quote

I would first upgrade to 8.2 if I were you, so I get chances it's not an
IDE-bug but a misconfiguration somewhere (like a HTTP 301 your browser
kept in cache?)


Le 28/02/2017 à 21:40, lyborko a écrit :
Quote:
I have Netbeans 8.1 and installed xDebug.
when I run "Debug File" command for the file foo.php in the folder
C:\xampp\htdocs\Philippa it goes to the CORRECT address:

http://localhost/philippa/foo.php?XDEBUG_SESSION_START=netbeans-xdebug

But now comes the strange thing.

when I run "Debug File" command for the file foo.php in the folder
C:\xampp\htdocs\Philippa\php it goes to the INCORRECT address:

http://localhost/foo.php?XDEBUG_SESSION_START=netbeans-xdebug

There are another folders, in which I can debug files without problem, except this one.

Have you any idea what is wrong?

---------------
Here is configuration : project->properties:

- Sources
Quote:
Project folder: C:\xampp\htdocs\Philippa
Source folder: C:\xampp\htdocs\Philippa
Web root : source folder
- Run configuration
Quote:
Configuration: default
run as: Local website
Project URL: http://localhost/Philippa/
index file : index.php


[/b]





--
Vincent Monier https://reinom.com Ingénieur informatique Davidson pour
General Electric
Back to top
lyborko



Joined: 28 Feb 2017
Posts: 2

PostPosted: Tue Feb 28, 2017 9:11 pm    Post subject: Re: Debug File command (xDebug) in Netbeans opens wrong file location Reply with quote

Thanx for reply...
I updated NetBeans 8.1, but it did not solved the problem.
So I downloaded NetBeans 8.2, but I did not installed it yet, instead of it I created new new folder, moved all files in it.

Seems it runs well...

Strange...
Back to top
monier
Posted via mailing list.





PostPosted: Wed Mar 01, 2017 5:19 pm    Post subject: Debug File command (xDebug) in Netbeans opens wrong file location Reply with quote

Then check that you have no mapping in the project's property debug window
Last, check for HTTP 301 in your browser cache by going to the "erroneous" page (without clicking "Debug", just by opening the same browser you're debuging in) and see if you get a redirect. Le 28.02.2017 22:11, lyborko a



2b9eb05e.png
 Description:
 Filesize:  125.77 KB
 Viewed:  1137 Time(s)

2b9eb05e.png


Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo