News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
Debugging and Profiling PHP with Xdebug
November 23, 2012 @ 12:58:31

On PHPMaster.com today there's a new tutorial showing you how to effectively debug your applications with Xdebug, a handy tool that provides more detail around your errors just by installing it.

Xdebug is a free and open source project by Derick Rethans and is probably one of the most useful PHP extensions. It provides more than just basic debugging support, but also stack traces, profiling, code coverage, and so on. In this article you'll see how to install and configure Xdebug, how to debug your PHP application from Netbeans, and how to read a profiling report in KCachegrind.

He walks you through the installation process (installing it from a package, not compiling) and how to enable it in your "php.ini" configuration file. He also shows how to hook it into the debugger on your IDE (in this case Netbeans) to receive debug messages and be able to step through the code to easily locate the issues. Also included is some basic information about profiling your application and viewing the resulting data in something like Kcachegrind or Webgrind

0 comments voice your opinion now!
debug profile xdebug tool tutorial install configure


blog comments powered by Disqus

Similar Posts

Dutch Web Alliance: The definitive remote debug and unittest with PHPStorm guide: part 4

Chris Jones: Quick Debugging of PHP Scripts in Emacs with Geben and Xdebug

PHPMaster.com: Patterns for Flexible View Handling, Part 2 - Using Decorators

Stefan Mischook's Blog: Object Oriented PHP Tutorial Released

Refulz.com: Special characters in Regular Expressions - Part 1


Community Events





Don't see your event here?
Let us know!


release interview deployment development symfony api laravel bugfix podcast conference community voicesoftheelephpant introduction series zendserver code tips list framework language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework