Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Start PHP debugging(Cant get debugging to work properly)
Start PHP debugging [message #1067590] Tue, 09 July 2013 13:35 Go to next message
Pjotr Bee is currently offline Pjotr BeeFriend
Messages: 5
Registered: July 2013
Junior Member
Hi all,

As a newbee I'm trying to get XDebug working for PHP debugging.
I've installed: Zend Eclipse for PHP Developers Version: 3.2.0.

When I look at "Window/Preferences/PHP/Debug/Installed Debuggers" it shows:
Zend Debugger 10000
XDebug 9000

Does this mean that XDebug is installed completely and that no adjustments have to be made to php.ini ?

The thing is, I can add Breakpoints to my php-file, but when running in debugmode, the program doesnt stop at the breakpoints. So something is not right...

Thanks,
PjotrB
Re: Start PHP debugging [message #1082348 is a reply to message #1067590] Thu, 08 August 2013 12:46 Go to previous message
Mike Bonhoff is currently offline Mike BonhoffFriend
Messages: 8
Registered: August 2013
Junior Member
I had the same problem but now it works. I will try to explain what I have made. If it is not clear, ask again:

1.) Make sure that no Debugging or Running process is going on.
2.) Select from the menu Run->Debug Configurations...
On the left side of this window you should select PHP Web Application and there the name of your PHP-file. Choose the Debugger tab on the right side and at Server Debugger choose XDebug (instead of Zender). Then click on Debug

When I made this the Debugger stopped at the breakpoints.

The only thing I still find uncomfortable is that I always have to click the red button after the Debugging process is over before I can start it again (this problem didn't occur during the Java Debugging).

Mephistochen

Previous Topic:debug configuration screen error: "file does not exist"
Next Topic:Eclipse 3.8 PDT Formatting
Goto Forum:
  


Current Time: Tue Apr 23 14:22:15 GMT 2024

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

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

Back to the top