Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Intro to Xdebug
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
claudiomettler
August 27, 2015
Programming
0
240
Intro to Xdebug
A lazy persons guide to debugging with Xdebug.
claudiomettler
August 27, 2015
Tweet
Share
More Decks by claudiomettler
See All by claudiomettler
On-demand image scaling with AWS Lambda and S3
claudiomettler
0
160
Terraform in 5 minutes
claudiomettler
0
740
Getting started with the spark core
claudiomettler
1
300
chef talk at DevOps Singapore
claudiomettler
0
150
Other Decks in Programming
See All in Programming
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
Implementation Patterns
denyspoltorak
0
290
Oxlintはいいぞ
yug1224
5
1.3k
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
Data-Centric Kaggle
isax1015
2
770
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
460
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
110
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
170
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
230
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.1k
MUSUBIXとは
nahisaho
0
130
Basic Architectures
denyspoltorak
0
670
Featured
See All Featured
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
67
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Crafting Experiences
bethany
1
48
How to build a perfect <img>
jonoalderson
1
4.9k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Building Applications with DynamoDB
mza
96
6.9k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
710
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
120
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
74
Site-Speed That Sticks
csswizardry
13
1.1k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
Transcript
A minimalists intro to XDEBUG Claudio Mettler, CtrlM Singapore August
2015 1
xdebug... • ...provides new functions useful for debugging, logging and
testing • ...changes the behaviour of some core PHP functionality • ...does profiling • ...implements a remote debugging protocol 2
A word of caution • do not run on live
servers (for performance and security reasons) • may cause extreme twitchiness when watching people debug without a debugger 3
new functions • code coverage analysis • xdebug_call_class(), xdebug_call_file(), xdebug_call_function(),
xdebug_get_headers() • etc. 4
Modified behaviour • includes a stack trace in error messages
• var_dump can do colors now • function nesting limit of 100! • etc. 5
6
7
profiling • creates CacheGrind files • topic for another talk
8
remote debugging: Installation • pecl install xdebug • apt-get install
php5-xdebug • edit config: xdebug.remote_connect_back=1 xdebug.remote_enable=1 9
remote debugging: IDE SETUP • accept incoming connections • path
mapping 10
remote debugging • set breakpoints • enable listener • start
session in browser 11
live demo 12
check out the competition • phpdbg: part of PHP now
• zend debugger 13
A little bedtime story 14
15
16
17
https://speakerdeck.com/claudiomettler/intro-to-xd 18