Fork me on GitHub

This session teaches you how to detect and debug Symfony based applications with the free open source tool Xdebug, which is an extension to PHP. The first part will quickly show how to get started with Xdebug. The second part of the session will cover detecting problems in your application by showing how Xdebug provides debugging aides in the form of stack/function traces, dumps of variables, and modified PHP functions. In the last part I will show the remote debugger capabilities of Xdebug with different IDEs, where you can: set breakpoints on functions, methods and file/line combinations and evaluating error messages. On top of this you will also see how you can use Xdebug's profiler to find bottlenecks in your applications. All using a Symfony application as example.