Debugging PHP, pain or relief?

neetu morwani

Delivering a project successfully has always been an exciting venture. And the key to retain clients is to 
keep them satisfied by delivering them quality work. Quality of the work depends on the happy developers.
What makes a developer happy?
 A smooth, running, bugfree code. But does this happen all the time?
Humans are bound to make mistakes and bugs are inevitable.
With the introduction of D8 OOPs based architecture and steep learning curve associated with D8, bugfree code is close to a dream for a developer. Simple array structure replaced by complex data structures also adds to the problem.
Test cases here come to rescue developers in order to keep check on existing functionalities. But running test cases help all the time?
Is it even possible to debug test cases despite of them being PHP classes?
Is debugging a difficult task in D8?
Answers to all the above questions will be delivered in the talk.
We will talk about how PHP debugging has been made easy with the help of few tools.

Key items of the session will be:
1. Xdebug as tool
2. Setting up Xdebug and Configurations
3. Xdebug extensions
4. CLI debugging
5. Test cases(Webtest and PHPUnit) debugging

Who should attend this:
Developers
Technical Leads
Drupal enthusiasts and professionals

Prerequisites:
Familiarity with Drupal development, D7 preferably D8


 

Session Track

PHP

Experience Level

Beginner

Drupal Version