Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Path Mapping(Debug Configurations - PHP Web Server)
Path Mapping [message #881792] Tue, 05 June 2012 09:09
B V Raghav is currently offline B V RaghavFriend
Messages: 1
Registered: June 2012
Junior Member
I am a noob to PDT.

I am trying the following test.

Project Directory Structure:

Dummy #Project
+-index.php
\-another.php

While index.php open, I try to "Debug As -> PHP Web Application"

The configuration of the PHP server is:

Server -->
Base URL: http :// localhost
Local Web Root: <blank>
Path Mapping -->
Path On Server: /~usr/pdt/Dummy/index.php
Path on Workspace: /Dummy/index.php

The real working behind is that pdt is a symlink to the workspace folder created by:
$ ln -s /path/to/workspace /home/usr/public_html/pdt

I have also tested that
http :// localhost/~usr/pdt/Dummy/index.php
works clean.

However, on selecting the Debug File as /Dummy/index.php for Debug Configuration, the Auto Generate URL is http :// localhost/Dummy/index.php

I did not understand how the path mapping actually helps. I intended the auto generate url to be like http :// localhost/pdt/Dummy/index.php

Kinldy point out my mistake, in understanding or otherwise..

Thanks
r

P.S. - Forgive the usage of blank spaces in url... That is a limitation.
Previous Topic:Editor does not recognize CPP syntax after adding c++ nature
Next Topic:Problems installing plugins : Yedit and Twig
Goto Forum:
  


Current Time: Fri Feb 03 21:22:28 GMT 2023

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

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

Back to the top