Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Intro to Xdebug
Search
claudiomettler
August 27, 2015
Programming
0
230
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
150
Terraform in 5 minutes
claudiomettler
0
740
Getting started with the spark core
claudiomettler
1
290
chef talk at DevOps Singapore
claudiomettler
0
150
Other Decks in Programming
See All in Programming
251126 TestState APIってなんだっけ?Step Functionsテストどう変わる?
east_takumi
0
310
C-Shared Buildで突破するAI Agent バックテストの壁
po3rin
0
380
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
6
3k
Rediscover the Console - SymfonyCon Amsterdam 2025
chalasr
2
160
Developing static sites with Ruby
okuramasafumi
0
270
実はマルチモーダルだった。ブラウザの組み込みAI🧠でWebの未来を感じてみよう #jsfes #gemini
n0bisuke2
0
120
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
140
MAP, Jigsaw, Code Golf 振り返り会 by 関東Kaggler会|Jigsaw 15th Solution
hasibirok0
0
230
著者と進める!『AIと個人開発したくなったらまずCursorで要件定義だ!』
yasunacoffee
0
130
從冷知識到漏洞,你不懂的 Web,駭客懂 - Huli @ WebConf Taiwan 2025
aszx87410
2
2.3k
ID管理機能開発の裏側 高速にSaaS連携を実現したチームのAI活用編
atzzcokek
0
220
AIコードレビューがチームの"文脈"を 読めるようになるまで
marutaku
0
350
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
The Language of Interfaces
destraynor
162
25k
Being A Developer After 40
akosma
91
590k
Code Reviewing Like a Champion
maltzj
527
40k
For a Future-Friendly Web
brad_frost
180
10k
The Pragmatic Product Professional
lauravandoore
37
7.1k
We Have a Design System, Now What?
morganepeng
54
7.9k
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
Building an army of robots
kneath
306
46k
Designing for Performance
lara
610
69k
Side Projects
sachag
455
43k
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