Newbie : Xdebug setup [message #40409] |
Wed, 01 August 2007 17:16 |
Eclipse User |
|
|
|
Originally posted by: newsprofile.gmail.com
Hi, just installed Xdebug on eclipse pdt and am now trying to work out how
to setup. I am in the process of RTFM, but just wanted to check a few
things.
Firstly, my workspace has loads of files with everything split up. I would
like to step through each program and I guess this is what it's supposed to
do? Can anyone help me by explaining how to setup Xdebug?
I don't quite understand the term PHP executable - is this the path to my
php.exe?
What's more popular, stand alone script or web launch?
Where can I alter the Apache start within Windows? Apache is running as a
service and I don't need to start it on the command line.
Anything else that might clear up my confusion! I'm going home in a second,
so would appreciate any pointers!
Thanks
|
|
|
|
Re: Newbie : Xdebug setup [message #40574 is a reply to message #40502] |
Thu, 02 August 2007 14:46 |
Eclipse User |
|
|
|
Originally posted by: newsprofile.gmail.com
Hi Dave,
Maybe it's just me, but I thought I'd installed everything correctly, but
maybe I shouldn't have installed the latest version of everything? i.e. I
got the latest PDT V1.0 and latest Xdebug v2.0.0
I can't see the PHP Exe with XDebug in my left folder when in the Debug
setup screen within PDT.
Which of your plugins should I put into my eclipse plug-ins folder?
Thanks
Nick
"Dave Kelsey" <dkel50@hotmail.com> wrote in message
news:f8shra$12e$1@build.eclipse.org...
> <quote>
> my workspace has loads of files with everything split up
> </quote>
> Not sure what you mean by this. If you have multiple php files within
> different projects, then to debug them will depend on how they get
> executed and configuring your environment appropriately.
>
> Info on how to get the XDebug extension loaded into your copy of php
> can be found at http://www.xdebug.org. I also provide a small bit of
> info in the pdf document for the PDT Xdebug client plugin.
>
> PHP Executable is the location of your php.exe as part of your php
> installation. This is used to run standalone scripts (ie executed on
> a command line, and part of a request to a web server).
>
> php is very popular as a web server scripting language.
>
> Apache configuration is set in the conf\httpd.conf file in your apache
> install. I think you would need to stop and restart the apache service
> if you want it to pick up changes to this file.
>
> Dave Kelsey
>
>
> Nick Boyle wrote:
>> Hi, just installed Xdebug on eclipse pdt and am now trying to work out
>> how to setup. I am in the process of RTFM, but just wanted to check a few
>> things.
>>
>> Firstly, my workspace has loads of files with everything split up. I
>> would like to step through each program and I guess this is what it's
>> supposed to do? Can anyone help me by explaining how to setup Xdebug?
>>
>>
>> I don't quite understand the term PHP executable - is this the path to my
>> php.exe?
>>
>> What's more popular, stand alone script or web launch?
>>
>> Where can I alter the Apache start within Windows? Apache is running as a
>> service and I don't need to start it on the command line.
>>
>> Anything else that might clear up my confusion! I'm going home in a
>> second, so would appreciate any pointers!
>>
>> Thanks
|
|
|
Re: Newbie : Xdebug setup [message #40605 is a reply to message #40574] |
Thu, 02 August 2007 18:59 |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotnospmail.com
Did you get the PDT xdebug client support binary (not source) from
https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408 ?
you need to open the zip file and get the pdf document which provides
info on the xdebug client stuff. You copy the .jar files into your
plug-ins directory. Also make sure you download the I20070712 build
as this is the only version I have tested with.
Cheers
Dave Kelsey
Nick Boyle wrote:
> Hi Dave,
>
> Maybe it's just me, but I thought I'd installed everything correctly,
> but maybe I shouldn't have installed the latest version of everything?
> i.e. I got the latest PDT V1.0 and latest Xdebug v2.0.0
>
> I can't see the PHP Exe with XDebug in my left folder when in the Debug
> setup screen within PDT.
>
> Which of your plugins should I put into my eclipse plug-ins folder?
>
> Thanks
>
> Nick
>
> "Dave Kelsey" <dkel50@hotmail.com> wrote in message
> news:f8shra$12e$1@build.eclipse.org...
>> <quote>
>> my workspace has loads of files with everything split up
>> </quote>
>> Not sure what you mean by this. If you have multiple php files within
>> different projects, then to debug them will depend on how they get
>> executed and configuring your environment appropriately.
>>
>> Info on how to get the XDebug extension loaded into your copy of php
>> can be found at http://www.xdebug.org. I also provide a small bit of
>> info in the pdf document for the PDT Xdebug client plugin.
>>
>> PHP Executable is the location of your php.exe as part of your php
>> installation. This is used to run standalone scripts (ie executed on
>> a command line, and part of a request to a web server).
>>
>> php is very popular as a web server scripting language.
>>
>> Apache configuration is set in the conf\httpd.conf file in your apache
>> install. I think you would need to stop and restart the apache service
>> if you want it to pick up changes to this file.
>>
>> Dave Kelsey
>>
>>
>> Nick Boyle wrote:
>>> Hi, just installed Xdebug on eclipse pdt and am now trying to work
>>> out how to setup. I am in the process of RTFM, but just wanted to
>>> check a few things.
>>>
>>> Firstly, my workspace has loads of files with everything split up. I
>>> would like to step through each program and I guess this is what it's
>>> supposed to do? Can anyone help me by explaining how to setup Xdebug?
>>>
>>>
>>> I don't quite understand the term PHP executable - is this the path
>>> to my php.exe?
>>>
>>> What's more popular, stand alone script or web launch?
>>>
>>> Where can I alter the Apache start within Windows? Apache is running
>>> as a service and I don't need to start it on the command line.
>>>
>>> Anything else that might clear up my confusion! I'm going home in a
>>> second, so would appreciate any pointers!
>>>
>>> Thanks
>
|
|
|
Re: Newbie : Xdebug setup [message #40698 is a reply to message #40605] |
Fri, 03 August 2007 09:27 |
Eclipse User |
|
|
|
Originally posted by: newsprofile.gmail.com
Thanks Dave, I can now see the xdebug stuff in the debug dialog. I'm reading
your setup pdf and see that I should start apache with a documentroot
command. My apache is installed as a service, and I just use the apache
service monitor to restart etc.
When in "PHP Web Script with XDebug", if I press Browse I get the error "No
entries Available". Is this something to do with me not starting apache as
described? I'm sure that once I get the config sorted I'll be fine .... :)
Nick
"Dave" <dkel50@hotnospmail.com> wrote in message
news:f8t9hl$900$1@build.eclipse.org...
> Did you get the PDT xdebug client support binary (not source) from
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408 ?
>
> you need to open the zip file and get the pdf document which provides info
> on the xdebug client stuff. You copy the .jar files into your
> plug-ins directory. Also make sure you download the I20070712 build
> as this is the only version I have tested with.
>
> Cheers
> Dave Kelsey
>
>
> Nick Boyle wrote:
>> Hi Dave,
>>
>> Maybe it's just me, but I thought I'd installed everything correctly, but
>> maybe I shouldn't have installed the latest version of everything? i.e. I
>> got the latest PDT V1.0 and latest Xdebug v2.0.0
>>
>> I can't see the PHP Exe with XDebug in my left folder when in the Debug
>> setup screen within PDT.
>>
>> Which of your plugins should I put into my eclipse plug-ins folder?
>>
>> Thanks
>>
>> Nick
>>
>> "Dave Kelsey" <dkel50@hotmail.com> wrote in message
>> news:f8shra$12e$1@build.eclipse.org...
>>> <quote>
>>> my workspace has loads of files with everything split up
>>> </quote>
>>> Not sure what you mean by this. If you have multiple php files within
>>> different projects, then to debug them will depend on how they get
>>> executed and configuring your environment appropriately.
>>>
>>> Info on how to get the XDebug extension loaded into your copy of php
>>> can be found at http://www.xdebug.org. I also provide a small bit of
>>> info in the pdf document for the PDT Xdebug client plugin.
>>>
>>> PHP Executable is the location of your php.exe as part of your php
>>> installation. This is used to run standalone scripts (ie executed on
>>> a command line, and part of a request to a web server).
>>>
>>> php is very popular as a web server scripting language.
>>>
>>> Apache configuration is set in the conf\httpd.conf file in your apache
>>> install. I think you would need to stop and restart the apache service
>>> if you want it to pick up changes to this file.
>>>
>>> Dave Kelsey
>>>
>>>
>>> Nick Boyle wrote:
>>>> Hi, just installed Xdebug on eclipse pdt and am now trying to work out
>>>> how to setup. I am in the process of RTFM, but just wanted to check a
>>>> few things.
>>>>
>>>> Firstly, my workspace has loads of files with everything split up. I
>>>> would like to step through each program and I guess this is what it's
>>>> supposed to do? Can anyone help me by explaining how to setup Xdebug?
>>>>
>>>>
>>>> I don't quite understand the term PHP executable - is this the path to
>>>> my php.exe?
>>>>
>>>> What's more popular, stand alone script or web launch?
>>>>
>>>> Where can I alter the Apache start within Windows? Apache is running as
>>>> a service and I don't need to start it on the command line.
>>>>
>>>> Anything else that might clear up my confusion! I'm going home in a
>>>> second, so would appreciate any pointers!
>>>>
>>>> Thanks
>>
|
|
|
|
Re: Newbie : Xdebug setup [message #40790 is a reply to message #40729] |
Fri, 03 August 2007 10:47 |
Eclipse User |
|
|
|
Originally posted by: newsprofile.gmail.com
In that case, apache is setup fine ... my htdocs is setup in a non-default
place and is working fine[1].
I'm not totally au fait with eclipse and am getting to grips with it, If I
click on Projects -> Properties, Resource shows a load of details on the
workspace project I'm working on ... (someone else in the company set this
up, but he's hard to get to help .. hence I'm here!).
[1] I would recommend setting up apache under a directory other than under
Program Files in Vista ... there's this "auto ini file copy" thing which
makes setting up a right bugger.
"Dave Kelsey" <dkel50@hotmail.com> wrote in message
news:f8uvhp$cop$1@build.eclipse.org...
> Apache is also configured by the httpd.conf file contained in apaches
> conf directory. In there you can define the htdocs location. This is
> where your static html and script files (.php are defined) however you
> need to follow instructions from php.net on how to setup apache to
> invoke php to run your scripts when a request comes in.
>
> I am guessing that "No entries available" implies you have no PHP projects
> defined in your
> workspace.
>
> Dave Kelsey
>
> Nick Boyle wrote:
>> Thanks Dave, I can now see the xdebug stuff in the debug dialog. I'm
>> reading your setup pdf and see that I should start apache with a
>> documentroot command. My apache is installed as a service, and I just use
>> the apache service monitor to restart etc.
>>
>> When in "PHP Web Script with XDebug", if I press Browse I get the error
>> "No entries Available". Is this something to do with me not starting
>> apache as described? I'm sure that once I get the config sorted I'll be
>> fine .... :)
>>
>> Nick
|
|
|
Powered by
FUDForum. Page generated in 0.01927 seconds