[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: Using PDT + Xdebug when a .htaccess rule is being applied

I am not sure I understand the problem here.If you specify the file (index.php) as the file
and turn off auto generation of the URL and provide your own URL when you launch the URL, index.php will execute on the server. xdebug will see this and inform PDT of the real file being executed. PDT will then attempt to associate that file with the file you specified in the launch (not the URL) to determine the path mapping between the two, but it should associate the index.php on your remote server with thst sitting in you local workspace that you specified in the launch.


Is it just a case of you want it to launch a different URL ? if that is the case just turn off auto generation of the URL and enter what you want it to be.

Dave Kelsey


hertzel wrote:
HI I need to debug a page that looks like this

http://localhost/path1/path2/path3

and there's a .htaccess rule like this

RewriteRule ^(.*)$ ./index.php?page=$1 [L]

everything gets passed to index.php for processing, and as I´m using remote debugging this does not work as Xdebug requires a real file to start debugging

Any Ideas?