Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pdt-dev] It's possible to debug remote site ( files on the FTP )

On 5. 10. 2010 14:39, Stuardo -StR- Rodríguez wrote:
I recommend you to download the files and run everything always local.  If you are forced to use the remote FTP files, I suggest you to mount your ftp remote as local folder (If your OS is a GNU/Linux based OS like Ubuntu).

I try mount my FTP as new drive in windows

 

But let me understand something, why would you like to debug a remote file?

I want to know if PDT support this feature

 Do you have xdebug installed in the remote server?

no, my remote server is webhosting

Would it be to difficult for you to run it local? 

no it's no problem, but I want to know if PDT support this feature somehow

I'm just asking to better understand your situation

2010/10/5 Jacek Pospychała <jacek.p@xxxxxxxx>
currently it's not possible, because XDebug launch assumes that file is stored locally on your file system and takes absolute path to it.
To fix this, definitely some code changes would be required in XDebug launcher, so currently there's no way to workaround this by configuration.
Would you mind opening a feature request?

thanks

Jacek

________________________________________
From: pdt-dev-bounces@xxxxxxxxxxx [pdt-dev-bounces@xxxxxxxxxxx] on behalf of sNop [snop3@xxxxxxxxx]
Sent: 05 October 2010 13:30
To: PDT Developers
Subject: Re: [pdt-dev] It's possible to debug remote site ( files on the FTP )

 Hi Jacek,

I know when I import project from RSE, so that I can debug PHP scripts localy, but I want to know if it's possible debug project without import this project from FTP to localhost.

So simply if it's possible somehow tell xdebug that project is on FTP and debug this files remotely.


On 5. 10. 2010 12:13, Jacek Pospychała wrote:
> Hi sNop,
> The exception is thrown because location of file you clicked cannot be determined.
> So currently, you'd have to first download the file/files from FTP to your workspace and then debug.
>
> Jacek
>
> ________________________________________
> From: pdt-dev-bounces@xxxxxxxxxxx [pdt-dev-bounces@xxxxxxxxxxx] on behalf of sNop [snop3@xxxxxxxxx]
> Sent: 05 October 2010 12:05
> To: PDT Developers
> Subject: [pdt-dev] It's possible to debug remote site ( files on the FTP )
>
> Hi developers,
>
> I want to ask you if this is possible with PDT 2.2.0 or PDT 2.2.1 SR1 version.
>
> In Remote System Explorer perspective, when I create some new ftp connection and when I do right click on the some file folder or root folder, so in context menu is item with label Create Remote Project, when I select this item, so whole FTP ( all files and files ) are copied somewhere I don't know where and in PHP Explorer is created folder with the name of the FTP .e.g. ftpXX.com_(ftp.XXX.sk<ftp://ftp.XXX.sk>).
>
> So this was creating remote ftp project.
>
> And now, I do right click on some php file in this project and select Debug as PHP Web Page or PHP Script and this exception in consolelog occures:
>
> !ENTRY org.eclipse.core.jobs 4 2 2010-10-05 12:01:48.957
> !MESSAGE An internal error occurred during: "Launching firma (1)".
> !STACK 0
> java.lang.NullPointerException
>         at org.eclipse.php.internal.debug.core.launching.XDebugExeLaunchConfigurationDelegate.launch(XDebugExeLaunchConfigurationDelegate.java:
> 187)
>         at org.eclipse.php.internal.debug.core.launching.PHPLaunchDelegateProxy.launch(PHPLaunchDelegateProxy.java:106)
>         at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
>         at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)
>         at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:923)
>         at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1126)
>         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
>
> So I want to ask you, if It's possible to debug project which is on FTP?
>
> remote debug? or something similar? I don't know.
>
> Thank you for any advices and suggestions.
> _______________________________________________
> pdt-dev mailing list
> pdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/pdt-dev
>


_______________________________________________
pdt-dev mailing list
pdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pdt-dev

_______________________________________________ pdt-dev mailing list pdt-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/pdt-dev

Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top