Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » incorrect Debug As->PHP Web Page launch url(need to fix its generation)
incorrect Debug As->PHP Web Page launch url [message #638765] Fri, 12 November 2010 14:11 Go to next message
waiting for C++ eclipse is currently offline waiting for C++ eclipseFriend
Messages: 3
Registered: November 2010
Junior Member
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 have 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

HELP!
this bug has been submitted to bugzilla at https://bugs.eclipse.org/bugs/show_bug.cgi?id=330091

[Updated on: Fri, 12 November 2010 14:20]

Report message to a moderator

Re: incorrect Debug As->PHP Web Page launch url [message #638900 is a reply to message #638765] Sat, 13 November 2010 01:54 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
Bug 323395 Add Default Base URL group to the Php Debug Project properties
Latest maintenance release has this feature.
You can set a base url for each projects.
PHP Development Tools (PDT) - Downloads
Re: incorrect Debug As->PHP Web Page launch url [message #640081 is a reply to message #638900] Fri, 19 November 2010 00:28 Go to previous message
waiting for C++ eclipse is currently offline waiting for C++ eclipseFriend
Messages: 3
Registered: November 2010
Junior Member
Thank you Toshiro!
It works in this build and solves my problem.
Thus path mapping still doesn't work when starting a debug session from browser- it just shows the whole list of available php files, not matching them to server url at all.
Previous Topic:Eclipse problem with variable cannot be resolved
Next Topic:Autolaunch php cli script
Goto Forum:
  


Current Time: Thu Sep 19 00:19:44 GMT 2024

Powered by FUDForum. Page generated in 0.04499 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top