Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » PHP debugger will not start
PHP debugger will not start [message #33243] Tue, 03 July 2007 18:39 Go to next message
Eclipse UserFriend
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 #34181 is a reply to message #33243] Fri, 06 July 2007 17:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: venutip.hotmail.com

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 #34213 is a reply to message #34181] Fri, 06 July 2007 17:29 Go to previous messageGo to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
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
Eclipse UserFriend
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
Previous Topic:PDT not working in 3.3 Europa
Next Topic:PHP Explorer; missing "Close Unrelated Projects"
Goto Forum:
  


Current Time: Fri Jan 24 17:52:05 GMT 2025

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

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

Back to the top