Remote System + Auto Generate = bad url? [message #1402854] |
Thu, 17 July 2014 16:43  |
Eclipse User |
|
|
|
I do my coding using Remote System Explorer, and can't figure out how to get Auto Generated URLs to work.
What I want to do, is debug https //servername/index.php
The file for which lives on my local machine in my workspace at: /RemoteSystemsTempFiles/servername/pathonserver/index.php
Trouble is, I can't prevent the Debug Config from adding that full RemoteSystemsTempFiles/etc path to every url, unless I uncheck Auto and make the urls by hand.
Debug Configurations, PHP Web Application, New launch configuration
PHP Server:
Debugger: XDebug
Base URL: https //servername
Local Web Root: blank (doesn't seem to make a difference here)
Path Mappings: I've tried this (which makes sense, but has no effect)
Path on server: / Local path: /RemoteSystemsTempFiles/servername/pathonserver
In fact, no path mappings I've tried seem to effect the auto generated url.
Back out in Debug Config:
File: /RemoteSystemsTempFiles/servername/pathonserver/index.php
Check Auto Generate box, and get the following url:
https //servername/RemoteSystemsTempFiles/servername/pathonserver/index.php
I've searched quite a bit for a fix for this, and the closest I've found is someone advocating editing the Eclipse java classes! (http //moralvolcano.wordpress.com 2013/01/26/fix-for-url-autogenerate-bug-in-eclipse-php-pdt-plugin/)
I must be missing something obvious, because I can't be the only person who needs to debug files using RSE.
Hoping someone can help...
Local system config: windows 7, Eclipse Luna 4.4.0 PDT stock (no updated components installed)
Remote system: standard LAMP stack, connecting via ssh
(I'm new here, so had to remove : in urls to get them to post...)
|
|
|
|
|
Re: Remote System + Auto Generate = bad url? [message #1403887 is a reply to message #1403855] |
Mon, 28 July 2014 09:04  |
Eclipse User |
|
|
|
I don't completely understand your response. What do you mean by "the working structure only for RSE?"
RSE is clearly a tool designed for editing files, so I'm not sure why you wouldn't want to debug files you were editing.
Are you saying you should never use PDT for editing remote files, or is there a better way to do it that doesn't involve RSE? I'd love to figure out a good way to do this - I'm not able to fully duplicate the server environment locally, so remote debugging is the only option I've got. (And checking into a local copy so you can update the remote copy every time you save a file is pretty inefficient...)
|
|
|
Powered by
FUDForum. Page generated in 0.05888 seconds