Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330091 - PDT incorrect Debug As->PHP Web Page launch url
Summary: PDT incorrect Debug As->PHP Web Page launch url
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 major (vote)
Target Milestone: ---   Edit
Assignee: PHP Debug CLA
QA Contact:
URL:
Whiteboard:
Keywords: core, ui, usability
Depends on:
Blocks:
 
Reported: 2010-11-12 09:12 EST by eclipse CLA
Modified: 2020-05-14 11:07 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.