SlideShare a Scribd company logo
1 of 28
https://flickr.com/photos/25348945@N06/3994456259/
Baby Steps -> Giant Leaps
(aka Xdebug for Beginners)
By Sean Prunka Presented at MadisonPHP 2016-10-01
WHO
AM
I
?
● Daddy
● PHP Dev
● Actor
● LGBTQIA+
What I hope to impart:
1)What Xdebug is.
2)How to install Xdebug.
3)How to set up your IDE to use Xdebug.
4)How to set break points.
5)How to step through your code and see what's going on.
6)How to skip over the boring parts.
https://flickr.com/photos/10786001@N05/3905561114/
What is Xdebug?
What is Xdebug?
Xdebug is a tool to make your developing life easier.
It is a PHP extension that you can just pop into place and start using.
●“Xdebug - Debugger and Profiler Tool for PHP” (Xdebug.org, site title)
●“Xdebug: A powerful debugger for PHP.” (Xdebug.org, site decription)
●“Xdebug is a PHP extension which provides debugging and profiling capabilities.” (Wikipedia, with its own source.)
●Open Source. Made with dedication by Derick Rethans (and some helpers)
●Available on GitHub
https://flickr.com/photos/10786001@N05/3905561114/
How Do I Install It?
PECL:
# pecl install xdebug
Homebrew (on a Mac)
# brew install <php version>-xdebug
Apt/Yum/etc
These methods will vary from distro to distro and repo to repo.
Build from source.
This is beyond the scope of this talk, check Xdebug.org for
details.
Maybe it's already installed!
Fire up a phpinfo() to check.
Configure PHP to Use Xdebug
add the following line to php.ini (or in a separate file, if you
have your INI set to read a a sub-directory or such.)
[xdebug]
zend_extension="/usr/lib64/php/modules/xdebug.so"
xdebug.remote_enable = 1
Restart your webserver.
Load up a 'phpinfo()' page. You should see the fact it is
loaded and some details.
Taken From: http://wiki.netbeans.org/HowToConfigureXDebug
● Xdebug is incompatible with the Zend Optimizer and Zend Studio Debugger
extensions. These extensions should be commented out.
● From PHP 5.3 onwards, you need to use zend_extension and not zend_extension_ts.
● Get xdebug's debugclient working on localhost first, then add Netbeans.
● Use the bundled command line client "debugclient" on localhost, debugging simple php code
(e.g. a phpinfo file), with any firewalls and other competing factors or config disabled or removed.
When you've got this running, then your fight with Netbeans will be on solid ground, and will
probably be surprisingly easy.
● Instructions on installing Debugclient are cunningly hidden right at the bottom of
http://www.xdebug.org/docs/install
● If you are mapping server paths to project paths, you must map the full project folders to each
other, not the parent folders.
● More Info on Debugging in Netbeans here: https://netbeans.org/kb/docs/php/debugging.html
https://flickr.com/photos/9328058@N08/4503893385/
Configuration (Netbeans)
https://flickr.com/photos/127470644@N06/15031496788/
Configuration (Zend Studio)
https://flickr.com/photos/66854529@N00/314448550/
Configuration (PhpStorm)
No screenshot:
Drop to Local PhpStorm
installation.
https://flickr.com/photos/9791645@N07/16892552068/
Lights, Camera, Action!
Getting Xdebug to react!
●Using a Browser Extension
(Ideas from JetBrains wiki. More there.)
–Chrome: Xdebug helper
–Firefox: easy Xdebug
●Using Bookmarklets
–https://www.jetbrains.com/phpstorm/marklets/
–http://tool.ihacklog.com/xdebug-bookmarklet/
●Using a cookie
–(This is basically all both of the above utilities are doing.)
–Name: XDEBUG_SESSION
–Value: (varies by IDE)
https://flickr.com/photos/36515592@N00/12115474835/
Stepping
https://flickr.com/photos/62445783@N04/14316417902/
Step In
Step Out
https://flickr.com/photos/19059244@N00/5086817836/
Hokey Pokey?
Nothing to see in the slides.
Drop to PhpStorm and demo!
https://flickr.com/photos/19575742@N04/2214287842/
Skipping
Nothing to see in the slides.
Drop to PhpStorm and demo!
https://flickr.com/photos/38229258@N03/4665070783/
Ready to
take that
Giant Leap?
https://flickr.com/photos/23679420@N00/545653437/
So Long and Thanks for all the Fish!
Many thanks to MadisonPHP for hosting this amazing conference and bringing me here to speak. Thanks
also to the wonderful sponsors.
And a HUGE thank you to you for putting up with my rambling and raving.
Twitter: @sprunka
Email: sprunka@gmail.com
Joind.in: https://joind.in/talk/177b7
Useful Links!
●Xdebug:http://xdebug.org/
●PhpStormsetup:https://goo.gl/Ihn7Eb
●PhpStormpageaboutbrowserextensions:https://goo.gl/eiztW2
●NetbeanspageaboutsettingupXdebug:https://goo.gl/aNv2Dz
●Netbeansspecifichelp:https://goo.gl/Bawypj
●JuanTreminio(thePuphpet.comguy)blogpost:https://goo.gl/SZWvXF

More Related Content

What's hot

Civilized Git Process
Civilized Git ProcessCivilized Git Process
Civilized Git ProcessTu Hoang
 
Python id meetup, Maintaining a Dirty Code Django Project
Python id meetup, Maintaining a Dirty Code Django ProjectPython id meetup, Maintaining a Dirty Code Django Project
Python id meetup, Maintaining a Dirty Code Django ProjectIkhsan Noor Rosyidin
 
Speed in Four Quarters :: A Technique to Compare Web Page Performance
Speed in Four Quarters :: A Technique to Compare Web Page PerformanceSpeed in Four Quarters :: A Technique to Compare Web Page Performance
Speed in Four Quarters :: A Technique to Compare Web Page PerformanceOliver Tse
 
Using PhantomJS to keep product screenshots up to date
Using PhantomJS to keep product screenshots up to dateUsing PhantomJS to keep product screenshots up to date
Using PhantomJS to keep product screenshots up to dateMatthias Burtscher
 
РОМАН ЯКИМЧУК «Оптимізація QA процесів» Kyiv QADay 2021
РОМАН ЯКИМЧУК «Оптимізація QA процесів» Kyiv QADay 2021РОМАН ЯКИМЧУК «Оптимізація QA процесів» Kyiv QADay 2021
РОМАН ЯКИМЧУК «Оптимізація QA процесів» Kyiv QADay 2021GoQA
 
How NOT to build Drupal Sites - Sai Tanay
How NOT to build Drupal Sites - Sai TanayHow NOT to build Drupal Sites - Sai Tanay
How NOT to build Drupal Sites - Sai TanayDrupal Camp Delhi
 
Automate your WordPress Workflow with Grunt.js
Automate your WordPress Workflow with Grunt.jsAutomate your WordPress Workflow with Grunt.js
Automate your WordPress Workflow with Grunt.jsJosh Lee
 
Full-Stack Development
Full-Stack DevelopmentFull-Stack Development
Full-Stack DevelopmentDhilipsiva DS
 
Behaviour Driven Development Hands-on
Behaviour Driven Development Hands-onBehaviour Driven Development Hands-on
Behaviour Driven Development Hands-onHemmerling
 
First steps with GWT @ Google IO Extended - Pordenone
First steps with GWT @ Google IO Extended - PordenoneFirst steps with GWT @ Google IO Extended - Pordenone
First steps with GWT @ Google IO Extended - PordenoneGiampaolo Trapasso
 
Commit on day one thanks to vagrant & puppet!
Commit on day one thanks to vagrant & puppet!Commit on day one thanks to vagrant & puppet!
Commit on day one thanks to vagrant & puppet!Jakub Holy
 
Typescript kata The TDD style 2 edition
Typescript kata The TDD style 2 editionTypescript kata The TDD style 2 edition
Typescript kata The TDD style 2 editionRonnie Hegelund
 

What's hot (20)

Civilized Git Process
Civilized Git ProcessCivilized Git Process
Civilized Git Process
 
NoSQL
NoSQLNoSQL
NoSQL
 
Python id meetup, Maintaining a Dirty Code Django Project
Python id meetup, Maintaining a Dirty Code Django ProjectPython id meetup, Maintaining a Dirty Code Django Project
Python id meetup, Maintaining a Dirty Code Django Project
 
Selenium camp v1
Selenium camp v1Selenium camp v1
Selenium camp v1
 
Presentasi jlp
Presentasi jlpPresentasi jlp
Presentasi jlp
 
Speed in Four Quarters :: A Technique to Compare Web Page Performance
Speed in Four Quarters :: A Technique to Compare Web Page PerformanceSpeed in Four Quarters :: A Technique to Compare Web Page Performance
Speed in Four Quarters :: A Technique to Compare Web Page Performance
 
Using PhantomJS to keep product screenshots up to date
Using PhantomJS to keep product screenshots up to dateUsing PhantomJS to keep product screenshots up to date
Using PhantomJS to keep product screenshots up to date
 
РОМАН ЯКИМЧУК «Оптимізація QA процесів» Kyiv QADay 2021
РОМАН ЯКИМЧУК «Оптимізація QA процесів» Kyiv QADay 2021РОМАН ЯКИМЧУК «Оптимізація QA процесів» Kyiv QADay 2021
РОМАН ЯКИМЧУК «Оптимізація QA процесів» Kyiv QADay 2021
 
The road to php 7.1
The road to php 7.1The road to php 7.1
The road to php 7.1
 
How NOT to build Drupal Sites - Sai Tanay
How NOT to build Drupal Sites - Sai TanayHow NOT to build Drupal Sites - Sai Tanay
How NOT to build Drupal Sites - Sai Tanay
 
Automate your WordPress Workflow with Grunt.js
Automate your WordPress Workflow with Grunt.jsAutomate your WordPress Workflow with Grunt.js
Automate your WordPress Workflow with Grunt.js
 
Full-Stack Development
Full-Stack DevelopmentFull-Stack Development
Full-Stack Development
 
Behaviour Driven Development Hands-on
Behaviour Driven Development Hands-onBehaviour Driven Development Hands-on
Behaviour Driven Development Hands-on
 
Lvl.up
Lvl.upLvl.up
Lvl.up
 
First steps with GWT @ Google IO Extended - Pordenone
First steps with GWT @ Google IO Extended - PordenoneFirst steps with GWT @ Google IO Extended - Pordenone
First steps with GWT @ Google IO Extended - Pordenone
 
Story behind PF 2016
Story behind PF 2016Story behind PF 2016
Story behind PF 2016
 
QA to sous-Chef
QA to sous-ChefQA to sous-Chef
QA to sous-Chef
 
Windows azure and linux
Windows azure and linuxWindows azure and linux
Windows azure and linux
 
Commit on day one thanks to vagrant & puppet!
Commit on day one thanks to vagrant & puppet!Commit on day one thanks to vagrant & puppet!
Commit on day one thanks to vagrant & puppet!
 
Typescript kata The TDD style 2 edition
Typescript kata The TDD style 2 editionTypescript kata The TDD style 2 edition
Typescript kata The TDD style 2 edition
 

Viewers also liked

PHP data structures (and the impact of php 7 on them), phpDay Verona 2015, Italy
PHP data structures (and the impact of php 7 on them), phpDay Verona 2015, ItalyPHP data structures (and the impact of php 7 on them), phpDay Verona 2015, Italy
PHP data structures (and the impact of php 7 on them), phpDay Verona 2015, ItalyPatrick Allaert
 
Edtc6320 ssanchez project3
Edtc6320 ssanchez project3Edtc6320 ssanchez project3
Edtc6320 ssanchez project3Sally Sanchez
 
子供向けコンテンツ制作におけるポリシー
子供向けコンテンツ制作におけるポリシー子供向けコンテンツ制作におけるポリシー
子供向けコンテンツ制作におけるポリシー比留木 武泰
 
Shane Wells: How I Went from $50,000 to More Than $250,000 in Sales Per Year
Shane Wells: How I Went from $50,000 to More Than $250,000 in Sales Per YearShane Wells: How I Went from $50,000 to More Than $250,000 in Sales Per Year
Shane Wells: How I Went from $50,000 to More Than $250,000 in Sales Per Yeardomainsherpa
 
Maximizing Domain Name PPC Income - With Howard Hoffman
Maximizing Domain Name PPC Income - With Howard HoffmanMaximizing Domain Name PPC Income - With Howard Hoffman
Maximizing Domain Name PPC Income - With Howard Hoffmandomainsherpa
 
How to find HEALTH inside America's healthcare system
How to find HEALTH inside America's healthcare systemHow to find HEALTH inside America's healthcare system
How to find HEALTH inside America's healthcare systemLaura Orsini
 
PLAY-fullness [Noun: Light-heartedness]
PLAY-fullness [Noun: Light-heartedness]PLAY-fullness [Noun: Light-heartedness]
PLAY-fullness [Noun: Light-heartedness]a-small-lab
 
Fred Mercaldo: The Tycoon of Geodomains
Fred Mercaldo: The Tycoon of GeodomainsFred Mercaldo: The Tycoon of Geodomains
Fred Mercaldo: The Tycoon of Geodomainsdomainsherpa
 
Sustainable Food Policy Analysis
Sustainable Food Policy AnalysisSustainable Food Policy Analysis
Sustainable Food Policy AnalysisMontgomery Norton
 
Kiva 5 year presentation
Kiva 5 year presentationKiva 5 year presentation
Kiva 5 year presentationlhogen
 
Insite2.0 Samenwerkomgeving Haarlem
Insite2.0 Samenwerkomgeving HaarlemInsite2.0 Samenwerkomgeving Haarlem
Insite2.0 Samenwerkomgeving HaarlemDirk Jan van der Wal
 

Viewers also liked (20)

PHP data structures (and the impact of php 7 on them), phpDay Verona 2015, Italy
PHP data structures (and the impact of php 7 on them), phpDay Verona 2015, ItalyPHP data structures (and the impact of php 7 on them), phpDay Verona 2015, Italy
PHP data structures (and the impact of php 7 on them), phpDay Verona 2015, Italy
 
Edtc6320 ssanchez project3
Edtc6320 ssanchez project3Edtc6320 ssanchez project3
Edtc6320 ssanchez project3
 
子供向けコンテンツ制作におけるポリシー
子供向けコンテンツ制作におけるポリシー子供向けコンテンツ制作におけるポリシー
子供向けコンテンツ制作におけるポリシー
 
Shane Wells: How I Went from $50,000 to More Than $250,000 in Sales Per Year
Shane Wells: How I Went from $50,000 to More Than $250,000 in Sales Per YearShane Wells: How I Went from $50,000 to More Than $250,000 in Sales Per Year
Shane Wells: How I Went from $50,000 to More Than $250,000 in Sales Per Year
 
Maximizing Domain Name PPC Income - With Howard Hoffman
Maximizing Domain Name PPC Income - With Howard HoffmanMaximizing Domain Name PPC Income - With Howard Hoffman
Maximizing Domain Name PPC Income - With Howard Hoffman
 
Tarea temperaturas mate6
Tarea temperaturas mate6Tarea temperaturas mate6
Tarea temperaturas mate6
 
P1 bloc1
P1 bloc1P1 bloc1
P1 bloc1
 
How to find HEALTH inside America's healthcare system
How to find HEALTH inside America's healthcare systemHow to find HEALTH inside America's healthcare system
How to find HEALTH inside America's healthcare system
 
Connected Digital Economy Catapult & Oxford 31st jan 2014
Connected Digital Economy Catapult & Oxford 31st jan 2014Connected Digital Economy Catapult & Oxford 31st jan 2014
Connected Digital Economy Catapult & Oxford 31st jan 2014
 
PLAY-fullness [Noun: Light-heartedness]
PLAY-fullness [Noun: Light-heartedness]PLAY-fullness [Noun: Light-heartedness]
PLAY-fullness [Noun: Light-heartedness]
 
Fred Mercaldo: The Tycoon of Geodomains
Fred Mercaldo: The Tycoon of GeodomainsFred Mercaldo: The Tycoon of Geodomains
Fred Mercaldo: The Tycoon of Geodomains
 
Mapas
MapasMapas
Mapas
 
Sustainable Food Policy Analysis
Sustainable Food Policy AnalysisSustainable Food Policy Analysis
Sustainable Food Policy Analysis
 
Toshiba Family
Toshiba FamilyToshiba Family
Toshiba Family
 
Kiva 5 year presentation
Kiva 5 year presentationKiva 5 year presentation
Kiva 5 year presentation
 
Traballo leccion 2
Traballo leccion 2Traballo leccion 2
Traballo leccion 2
 
Ric regents & trustees
Ric regents & trusteesRic regents & trustees
Ric regents & trustees
 
P19 netinvet bcn_2013-1
P19 netinvet bcn_2013-1P19 netinvet bcn_2013-1
P19 netinvet bcn_2013-1
 
Global Networks: Open Methods
Global Networks: Open MethodsGlobal Networks: Open Methods
Global Networks: Open Methods
 
Insite2.0 Samenwerkomgeving Haarlem
Insite2.0 Samenwerkomgeving HaarlemInsite2.0 Samenwerkomgeving Haarlem
Insite2.0 Samenwerkomgeving Haarlem
 

Similar to Xdebug for Beginners

TDD in Python With Pytest
TDD in Python With PytestTDD in Python With Pytest
TDD in Python With PytestEddy Reyes
 
Volunteering at YouSee on Technology Support
Volunteering at YouSee on Technology SupportVolunteering at YouSee on Technology Support
Volunteering at YouSee on Technology SupportYouSee
 
PHP Aberdeen Quick optimisation of PHP with Webgrind
PHP Aberdeen Quick optimisation of PHP with WebgrindPHP Aberdeen Quick optimisation of PHP with Webgrind
PHP Aberdeen Quick optimisation of PHP with WebgrindAndy_Gaskell
 
Pentester++
Pentester++Pentester++
Pentester++CTruncer
 
Introducing Yeoman 1.0 beta
Introducing Yeoman 1.0 betaIntroducing Yeoman 1.0 beta
Introducing Yeoman 1.0 betadigitalzombie
 
Bootstrapping your plugin
Bootstrapping your pluginBootstrapping your plugin
Bootstrapping your pluginMarko Heijnen
 
Best Practices in Component Development for MODX
Best Practices in Component Development for MODXBest Practices in Component Development for MODX
Best Practices in Component Development for MODXJan Tezner
 
7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...
7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...
7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...César Hernández
 
Preparing for the WebGeek DevCup
Preparing for the WebGeek DevCupPreparing for the WebGeek DevCup
Preparing for the WebGeek DevCupbryanbibat
 
Xdebug and Drupal8 tests (PhpUnit and Simpletest)
Xdebug and Drupal8 tests (PhpUnit and Simpletest)Xdebug and Drupal8 tests (PhpUnit and Simpletest)
Xdebug and Drupal8 tests (PhpUnit and Simpletest)Francisco José Seva Mora
 
Grunt - The JavaScript Task Runner
Grunt - The JavaScript Task RunnerGrunt - The JavaScript Task Runner
Grunt - The JavaScript Task RunnerMohammed Arif
 
Using Delphi as a no code development environment
Using Delphi as a no code development environmentUsing Delphi as a no code development environment
Using Delphi as a no code development environmentpprem
 
10 things you should know about django
10 things you should know about django10 things you should know about django
10 things you should know about djangoAdieu
 
ENIB 2015-2016 - CAI Web - S01E01- La forge JavaScript
ENIB 2015-2016 - CAI Web - S01E01- La forge JavaScriptENIB 2015-2016 - CAI Web - S01E01- La forge JavaScript
ENIB 2015-2016 - CAI Web - S01E01- La forge JavaScriptHoracio Gonzalez
 
Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1
Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1
Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1Vladimir Roudakov
 
Expressive Microservice Framework Blastoff
Expressive Microservice Framework BlastoffExpressive Microservice Framework Blastoff
Expressive Microservice Framework BlastoffAdam Culp
 
Using PHP with IBM Bluemix
Using PHP with IBM BluemixUsing PHP with IBM Bluemix
Using PHP with IBM Bluemixvvaswani
 
Behaviour Testing and Continuous Integration with Drupal
Behaviour Testing and Continuous Integration with DrupalBehaviour Testing and Continuous Integration with Drupal
Behaviour Testing and Continuous Integration with Drupalsmithmilner
 

Similar to Xdebug for Beginners (20)

TDD in Python With Pytest
TDD in Python With PytestTDD in Python With Pytest
TDD in Python With Pytest
 
Volunteering at YouSee on Technology Support
Volunteering at YouSee on Technology SupportVolunteering at YouSee on Technology Support
Volunteering at YouSee on Technology Support
 
PHP Aberdeen Quick optimisation of PHP with Webgrind
PHP Aberdeen Quick optimisation of PHP with WebgrindPHP Aberdeen Quick optimisation of PHP with Webgrind
PHP Aberdeen Quick optimisation of PHP with Webgrind
 
Pentester++
Pentester++Pentester++
Pentester++
 
Introducing Yeoman 1.0 beta
Introducing Yeoman 1.0 betaIntroducing Yeoman 1.0 beta
Introducing Yeoman 1.0 beta
 
Bootstrapping your plugin
Bootstrapping your pluginBootstrapping your plugin
Bootstrapping your plugin
 
Django Girls Tutorial
Django Girls TutorialDjango Girls Tutorial
Django Girls Tutorial
 
Best Practices in Component Development for MODX
Best Practices in Component Development for MODXBest Practices in Component Development for MODX
Best Practices in Component Development for MODX
 
7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...
7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...
7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...
 
Introduce Django
Introduce DjangoIntroduce Django
Introduce Django
 
Preparing for the WebGeek DevCup
Preparing for the WebGeek DevCupPreparing for the WebGeek DevCup
Preparing for the WebGeek DevCup
 
Xdebug and Drupal8 tests (PhpUnit and Simpletest)
Xdebug and Drupal8 tests (PhpUnit and Simpletest)Xdebug and Drupal8 tests (PhpUnit and Simpletest)
Xdebug and Drupal8 tests (PhpUnit and Simpletest)
 
Grunt - The JavaScript Task Runner
Grunt - The JavaScript Task RunnerGrunt - The JavaScript Task Runner
Grunt - The JavaScript Task Runner
 
Using Delphi as a no code development environment
Using Delphi as a no code development environmentUsing Delphi as a no code development environment
Using Delphi as a no code development environment
 
10 things you should know about django
10 things you should know about django10 things you should know about django
10 things you should know about django
 
ENIB 2015-2016 - CAI Web - S01E01- La forge JavaScript
ENIB 2015-2016 - CAI Web - S01E01- La forge JavaScriptENIB 2015-2016 - CAI Web - S01E01- La forge JavaScript
ENIB 2015-2016 - CAI Web - S01E01- La forge JavaScript
 
Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1
Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1
Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1
 
Expressive Microservice Framework Blastoff
Expressive Microservice Framework BlastoffExpressive Microservice Framework Blastoff
Expressive Microservice Framework Blastoff
 
Using PHP with IBM Bluemix
Using PHP with IBM BluemixUsing PHP with IBM Bluemix
Using PHP with IBM Bluemix
 
Behaviour Testing and Continuous Integration with Drupal
Behaviour Testing and Continuous Integration with DrupalBehaviour Testing and Continuous Integration with Drupal
Behaviour Testing and Continuous Integration with Drupal
 

Recently uploaded

VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...SUHANI PANDEY
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge GraphsEleniIlkou
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)Delhi Call girls
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...Escorts Call Girls
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubaikojalkojal131
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...Neha Pandey
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtrahman018755
 
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.soniya singh
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersDamian Radcliffe
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirtrahman018755
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceDelhi Call girls
 
VVIP Pune Call Girls Mohammadwadi WhatSapp Number 8005736733 With Elite Staff...
VVIP Pune Call Girls Mohammadwadi WhatSapp Number 8005736733 With Elite Staff...VVIP Pune Call Girls Mohammadwadi WhatSapp Number 8005736733 With Elite Staff...
VVIP Pune Call Girls Mohammadwadi WhatSapp Number 8005736733 With Elite Staff...SUHANI PANDEY
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...SUHANI PANDEY
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...Diya Sharma
 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...SUHANI PANDEY
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...singhpriety023
 
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...SUHANI PANDEY
 
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...roncy bisnoi
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445ruhi
 

Recently uploaded (20)

VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
VVIP Pune Call Girls Mohammadwadi WhatSapp Number 8005736733 With Elite Staff...
VVIP Pune Call Girls Mohammadwadi WhatSapp Number 8005736733 With Elite Staff...VVIP Pune Call Girls Mohammadwadi WhatSapp Number 8005736733 With Elite Staff...
VVIP Pune Call Girls Mohammadwadi WhatSapp Number 8005736733 With Elite Staff...
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
 
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 

Xdebug for Beginners

Editor's Notes

  1. “Baby Steps”? ”Giant Leaps”? What is this, the Lunar Lander? Parcour? Nope... No rocket science here. No death defying high rise obstacle courses either.
  2. 6 kids. From 17 down to 4. I played with PHP first in 1998-99. kept “playing” with it for 12 yrs. Then ZendCon. In all, that&amp;apos;s more than 15 yrs of PHP experience. ZCE PHP 5.3 Senior Developer @ PO2Go Over 35 yrs of acting experience, including school and community. Active with several local community theatres currently, including being a founding member on the board of a new one. Pansexual, Genderfluid/GenderQueer. Cville Pride, Shenandoah Valley Pride.
  3. Sooooo.... What is Xdebug?
  4. Xdebug is a Step debugger. The how of it all is magic to me. – Your IDE listens for a cookie and your browser sends a cookie and magically you are stepping through your *local* code that is the same as the code existing in your VM, or on your server. Development, Staging, or Production. You can run with Xdebug anywhere. I&amp;apos;m sure there are plenty of caveats to that, but it pretty much “just works”
  5. The hard way: build from scratch. The easier ways: PECL/PEAR Mac Homebrew The easiest: It&amp;apos;s already installed/baked into your PHP installation.
  6. (don&amp;apos;t forget to change the path and filename to the correct one — but make sure you use the full path)
  7. I don&amp;apos;t use Netbeans anymore, and all the configuration related to Xdebug that I could find deal more with the configuration of Xdebug itself, not necessarily in conjunction with Netbeans. So, I just ended up grabbing a screenshot from the web.
  8. It&amp;apos;s been even longer since I used Zend Studio, and they tend to prefer you using Zend Debugger, so I just grabbed another screen shot from the web.
  9. PhpStorm is my current go-to IDE
  10. Triggering Xdebug requires a cookie. That&amp;apos;s it. I use a handy Extension in Chrome called Xdebug helper. There are also handy extensions for Firefox, Safari, and Opera. Not sure about IE….who uses IE for dev anyway??? If you either don&amp;apos;t want to or are unable to install an extension, that&amp;apos;s fine, you can add a bookmarklet, or just add a cookie and add XDEBUG_SESSION_START to the path.
  11. Since Xdebug is a STEP debugger, let&amp;apos;s get stepping, shall we??