Page 1 of 1

debugging php

Posted: Sat May 18, 2002 6:44 pm
by volka
I'm 'playing' with php as apache-module. However using the error.log and/or print-debugger isn't that effective ;)
So how do you debug your php-scripts?

Posted: Sat May 18, 2002 6:50 pm
by jason
Their is always the PHP Debugger, it's an addon to many of the editors out there. Zend Studio has it inside the package, and I am sure there are other editors that also include it in the package.

Posted: Sat May 18, 2002 7:17 pm
by volka
any recommendable freeware solution? remember: I'm only playing with php so I'm not willing to spend $195 for Zend Studio 2 :roll:

Posted: Sat May 18, 2002 8:03 pm
by jason
Please, google for yourself :D

PHP Debugger: http://dd.cron.ru/dbg/

The PHP Debugger is included with Zend Studio, as well as many other packages.

Of course, there is always the classic echo $varname; approach, which suits me quite fine.

Posted: Sun May 19, 2002 7:28 am
by volka
thanks for the link, exactly what I was looking for :D

if I can avoid printf-debugger I do. At least since a customer ringed in to tell us that after 100 times he gets bored of clicking the 'Hallo Fred'-mesages boxes away. (fortunately not my fault ;) )

Posted: Sun May 19, 2002 12:36 pm
by mikeq
PHPEdit http://www.phpedit.com/

Free PHP editor integrated with DBG debugger.

Mike