Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Newbie Question: How to Configure PDT to Debug App on Remote Server?
Newbie Question: How to Configure PDT to Debug App on Remote Server? [message #41680] Wed, 08 August 2007 21:54 Go to next message
Eclipse UserFriend
Originally posted by: vikr.mindspring.com.invalid

I've downloaded the All-in-One PDT. I'd like to enter the required
information so that I can access a site I have on a web host (by FTP or
other protocol) and debug it.

I looked for a PDT manual at the docs page -
<http://www.eclipse.org/pdt/docs.php> - but so far I haven't found a
manual there.

How do I configure PDT to debug an app on a remote server? Thanks very
much to all for any info.


-Vik
Re: Newbie Question: How to Configure PDT to Debug App on Remote Server? [message #41741 is a reply to message #41680] Thu, 09 August 2007 10:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: f_hoeger.leporello.tv

Vik,

if you want to use XDebug for debugging look here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408
At the bottom of the page you'll find a prebuilt binary of XDebug
support for V0.2.3 for PDT 1.0 which contains a well written PDF file.

good luck
frank



Vik Rubenfeld wrote:
> I've downloaded the All-in-One PDT. I'd like to enter the required
> information so that I can access a site I have on a web host (by FTP or
> other protocol) and debug it.
>
> I looked for a PDT manual at the docs page -
> <http://www.eclipse.org/pdt/docs.php> - but so far I haven't found a
> manual there.
>
> How do I configure PDT to debug an app on a remote server? Thanks very
> much to all for any info.
>
>
> -Vik
Re: Newbie Question: How to Configure PDT to Debug App on Remote Server? [message #41993 is a reply to message #41741] Thu, 09 August 2007 21:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vikr.mindspring.com.invalid

Thanks for this info. The PDF file says to enter the following info at
the bottom of PHP.ini:

[xdebug]
xdebug.remote_enable=1
xdebug.remote_host=<hostname>
xdebug.remote_port=<port>
xdebug.remote_handler="dbgp"
zend_extension_ts=<xdebug library location>

Unfortunately, my installation (via the all-in-one PDT file) has NO
PHP.ini file. :) Where should I enter this information about the remote
host?

Best,



-Vik



In article <f9eorv$et8$1@build.eclipse.org>,
Frank H
Re: Newbie Question: How to Configure PDT to Debug App on Remote Server? [message #42086 is a reply to message #41993] Fri, 10 August 2007 08:50 Go to previous message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
Hi Vik, depends how you are going to be executing php scripts. Will it be
via a web server or a command line ? if you are using a command line you
must have PHP installed somewhere on your machine. You then need to either
create a PHP.INI file or rename one of the samples provided by PHP either in
the php.exe directory (windows) or the etc directory of your php install (linux).
Then use a hostname of 127.0.0.1 (or localhost) and a port of 9000.

If you are running it as a web server, if the web server is located on your
machine, use 127.0.0.1. The location of the PHP.INI file can be in multiple
places, you will need to read up on PHP for more info on where it might be or
where to create one.

Dave Kelsey

Vik Rubenfeld wrote:
> Thanks for this info. The PDF file says to enter the following info at
> the bottom of PHP.ini:
>
> [xdebug]
> xdebug.remote_enable=1
> xdebug.remote_host=<hostname>
> xdebug.remote_port=<port>
> xdebug.remote_handler="dbgp"
> zend_extension_ts=<xdebug library location>
>
> Unfortunately, my installation (via the all-in-one PDT file) has NO
> PHP.ini file. :) Where should I enter this information about the remote
> host?
>
> Best,
>
>
>
> -Vik
>
>
>
> In article <f9eorv$et8$1@build.eclipse.org>,
> Frank Höger <f_hoeger@leporello.tv> wrote:
>
>> Vik,
>>
>> if you want to use XDebug for debugging look here:
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408
>> At the bottom of the page you'll find a prebuilt binary of XDebug
>> support for V0.2.3 for PDT 1.0 which contains a well written PDF file.
>>
>> good luck
>> frank
>>
>
>
>
> Vik Rubenfeld wrote:
>> I've downloaded the All-in-One PDT. I'd like to enter the required
>> information so that I can access a site I have on a web host (by FTP or
>> other protocol) and debug it.
>>
>> I looked for a PDT manual at the docs page -
>> <http://www.eclipse.org/pdt/docs.php> - but so far I haven't found a
>> manual there.
>>
>> How do I configure PDT to debug an app on a remote server? Thanks very
>> much to all for any info.
>>
>>
>> -Vik
Previous Topic:I'm a confused - debugging
Next Topic:Error when starting eclipse
Goto Forum:
  


Current Time: Thu Apr 25 00:46:00 GMT 2024

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

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

Back to the top