Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

are there any XDebug alternatives for debugging PHP?

I'm using Vista and need to debug PHP, XDebug crashes in Vista, I tried several suggestions but nothing works.

Are there there any other alternative to XDebug that works on Vista and with Eclipse PDT. Easy to install is a plus :-)

Edit: also I have Ubuntu in other PC, so any debugger for Ubuntu will work too. In the package list is a XDebug version but it's very outdated.

like image 955
Flupkear Avatar asked Jun 05 '09 23:06

Flupkear


People also ask

Why is PHP debugging difficult?

Debugging a PHP application if often more difficult than debugging an application in some other programming language. There are two reasons for this. First, a PHP application rarely consists of only PHP code. (Note that we are discussing here the typical use of PHP in a Web application.

Does PHP have a debugger?

You can debug PHP using one of many debugging tools to attach a debugger client. PhpStorm works with debug utilities like Xdebug and ZendDebugger.


2 Answers

I always liked Zend Studio for debugging amongst other things.

You can also download the zend debugger individually as an eclipse plugin from http://www.zend.com/en/community/pdt

like image 85
Ryu Avatar answered Oct 04 '22 01:10

Ryu


You can, in Ubuntu always get the latest stable Xdebug with:

sudo pecl install Xdebug

You may also need to install the build-essential on Ubuntu if you've not already done it.

sudo apt-get install build-essential
like image 35
Alister Bulman Avatar answered Oct 04 '22 02:10

Alister Bulman