Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330091

Summary: PDT incorrect Debug As->PHP Web Page launch url
Product: z_Archived Reporter: eclipse
Component: PDTAssignee: PHP Debug <php.debug-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: major    
Priority: P2 CC: silviya, zulus
Version: unspecifiedKeywords: core, ui, usability
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=283654
Whiteboard:

Description eclipse CLA 2010-11-12 09:12:43 EST
Build Identifier: 20100917-0705

does anyone know how to setup Debug As->PHP Web Page launch url autogeneration? I have a project that is located in /project/subproject1/ in eclipse, and on server it's located at http://localhost/subproject1/  . When I choose Debug As->PHP Web Page from right mouse button menu in project explorer the launch url is generated incorrectly in this form http://localhost/project/subproject1/filetodebug.php  , how do I tell eclipse to generate a correct http://localhost/subproject1/filetodebug.php  url ?
Tried all the combos with path mapping, and it doesn't work(does it has to? path mapping is related to debug server or both to debug server and launch url?)
similar bug is reported at https://bugs.eclipse.org/bugs/show_bug.cgi?id=283654
same problem has been reported on forum year ago http://www.eclipse.org/forums/index.php?t=msg&th=29887
A thread related to this bug has been started here http://www.eclipse.org/forums/index.php?t=msg&th=200157
HELP!

Reproducible: Always

Steps to Reproduce:
1.Set up a php project located in /project/subproject1/ in eclipse
2.Set up that project on a webserver at http://localhost/subproject1/
3.Set up debugging for a localhost
4.Right click any php file in the project which doesn't have its debug configuration, right click and select Debug As->PHP Web Page .
5.The default path appears as http://localhost/project/subproject1/ in Launch url box, and is incorrect
Comment 1 xu jiaxi CLA 2010-11-16 00:25:08 EST
Hi,
in /project/subproject1/, "project" is the project name, and "subproject1" is the folder name, right?
or /project/subproject1/ is the path on your hard disk?
Comment 2 Dawid Pakula CLA 2016-06-08 14:38:34 EDT
No answer since over 5 years. Works for me.
Comment 3 Sylvia Tancheva CLA 2016-06-09 08:15:23 EDT
Closing unless more recent information becomes available.