What PHP debugger for XAMPP?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

What PHP debugger for XAMPP?

Postby OrcaSoul » 28. September 2009 07:58

I'm a newbe PHP/MySQL coder, & I desperately need a PHP debugger for XAMPP that meets 4 criteria:

1: Free
2: Easy to install
3: Easy to configure
4: Easy to use

Any suggestions? :?:
OrcaSoul
 
Posts: 57
Joined: 24. August 2009 23:51

Re: What PHP debugger for XAMPP?

Postby Sal » 28. September 2009 21:07

hi, the debugger is already included with the xampp package and its xdebug. You can find it's dll in the php/ext directory.
All you have to do is include these lines at the bottom of your actual php.ini:

[XDebug]
xdebug.remote_port = 9000
xdebug.remote_host = 127.0.0.1
xdebug.remote_enable = 1
zend_extension_ts = .\php\ext\php_xdebug.dll

and remember to mark all lines under the [Zend] section with ;

Then, download netbeans for PHP and start working on php as God intended :-)

P.S.
if you're using a previous version of xampp 1.7.2, the php.ini is in the xampp/apache/bin dir.
Sal
 
Posts: 6
Joined: 25. September 2009 02:30

Re: What PHP debugger for XAMPP?

Postby OrcaSoul » 26. November 2009 08:18

Sal, sorry for the delay in responding - for some reason I was not notified of your reply. :(

I'll read through this and install the NetBeans as well - it looks like it will do what I need. :D

Thanks!
OrcaSoul
 
Posts: 57
Joined: 24. August 2009 23:51

Re: What PHP debugger for XAMPP?

Postby tpk » 27. November 2009 11:07

I have xamp 1.7.2 and there it works only when I use:

zend_extension = .\php\ext\php_xdebug.dll

instead of

zend_extension_ts = .\php\ext\php_xdebug.dll
tpk
 
Posts: 13
Joined: 21. September 2007 23:55

Re: What PHP debugger for XAMPP?

Postby Wiedmann » 27. November 2009 12:34

I have xamp 1.7.2 and there it works only when I use:

zend_extension = .\php\ext\php_xdebug.dll

Maybe that's the reason, there is already an entry with:
Code: Select all
;zend_extension = "\xampp\php\ext\php_xdebug.dll"

in the INI. Just uncomment this.

(BTW: Not really working on Vista and XAMPP 1.7.2)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: What PHP debugger for XAMPP?

Postby OrcaSoul » 30. November 2009 06:57

OK, I made the changes to the php.ini file:
[XDebug]
xdebug.remote_port = 9000
xdebug.remote_host = 127.0.0.1
xdebug.remote_enable = 1
zend_extension = c:\xampp\php\ext\php_xdebug.dll

I don't see a [Zend] section.

When I run localhost/MYphpinfo.php/, I see:
Debug Build no
Thread Safety enabled

Which, from page 5 of the PDF @ http://www.eclipse.org/pdt/documents/XDebugGuide.pdf, I gather means it's good to go.

One problem - I'm probably just not seeing it - how do I use this with my project? The PDF has some screen shots, but I don't see how I should start this thing... :oops:

Is this supposed to start when I run the script, or do I somehow initiate the XDEBug and run the script from there? :?
OrcaSoul
 
Posts: 57
Joined: 24. August 2009 23:51

Re: What PHP debugger for XAMPP?

Postby clod » 25. January 2010 16:05

I use free PHP IDE Codelobster PHP Edition with its own PHP debugger.
I have found XAMPP settings for it on their forum.
clod
 
Posts: 5
Joined: 25. January 2010 15:53


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 154 guests