PHP debugger will not start [message #33243] |
Tue, 03 July 2007 18:39 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: venutip.hotmail.com
Hi,
I'm trying to debug a PHP script but am unable to get the debugger to
work. I have a PHP project that consists of one file; with the file open
in the editor, I select Run -> Debug As -> PHP Script. I immediately get
this error:
Error launching 'New_configuration'
The debug session could not be started.
Please make sure that the debugger is properly configured.
I've used the debugger on Java projects many times, and it's fine. But for
PHP, it always fails. Here are the details on my setup:
Eclipse 3.2.0
PDT 0.7.0 v20070401
PHP 5.1.4
The debug configuration I'm using is the default for a PHP script. Eclipse
core, PDT and all other plugins are up to date as of 10 minutes ago.
Anyone have any ideas? I've searched all over for a solution but can't
find one.
TIA
Paul
|
|
|
|
Re: PHP debugger will not start [message #34213 is a reply to message #34181] |
Fri, 06 July 2007 17:29 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Could be that the version of PHP that is being used to run the script
does not have the zend debugger installed.
Have you obtained the zend debugger extension for PHP and installed it ?
I believe there is a zend plug-in download that you can get to install
into PDT that provides a custom version of php with the zend debugger.
Alternatively you could try using xdebug to debug your php scripts. Have
a look at https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408, which contains
the plug-ins to enable PDT to debug using xdebug.
You will also need to install xdebug into your copy of php. You can obtain xdebug
for windows at http://www.xdebug.org.
Dave Kelsey
Paul wrote:
> Still stuck on this ... Has anybody else seen this message? I can
> provide more information if that will help.
>
> Thanks,
> Paul
>
|
|
|
Re: PHP debugger will not start [message #34247 is a reply to message #34213] |
Sat, 07 July 2007 01:59 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: venutip.hotmail.com
Aha. I did _not_ have the Zend debugger installed. I downloaded the plugin
from Zend and now the debugger works perfectly.
Thanks a lot for your help!
Regards,
Paul
|
|
|
Powered by
FUDForum. Page generated in 0.03743 seconds