SwampWater
SwampWater

Reputation: 257

Can anybody suggest a good Debugging package for PHP?

I use firebug and smarty so i get good debugging data from that but i'd like to see my database query times and page processing times as well.

Upvotes: 4

Views: 113

Answers (5)

stanx
stanx

Reputation: 1

Debugging PHP Code on Windows with Visual Studio 2008 or 2010 => http://www.jcxsoftware.com

Upvotes: 0

Charles
Charles

Reputation: 51411

As linked many times by others, FirePHP and Xdebug are awesome...

But you also asked about page render times and query times.

Unless you're already using a framework that collects this data for you, you're going to need to collect it and set up reporting for it yourself.

Upvotes: 0

Kris
Kris

Reputation: 41827

xdebug is awesome, because it lets you step through code inspecting variables as you go.

It also lets you do profiling (dumps callgrind files into a directory of your choosing, describing in very detailed fashion what happened how many times, when, and how long everything took)

To take full advantage of xdebug, you need a good IDE, i suggest netbeans, but you can use any one of the major packages nowadays.

Upvotes: 1

Dan Heberden
Dan Heberden

Reputation: 11068

This is a great package to relay data to firebug:

http://www.firephp.org

Upvotes: 1

S P
S P

Reputation: 4643

Xdebug is very good. It works very well in combination with Netbeans IDE for PHP.

Upvotes: 3

Related Questions