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
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
160
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
DevFest Android in Korea 2025 - 개발자 커뮤니티를 통해 얻는 가치
wisemuji
0
180
tsgolintはいかにしてtypescript-goの非公開APIを呼び出しているのか
syumai
7
2.4k
PostgreSQLで手軽にDuckDBを使う!DuckDB&pg_duckdb入門/osc25hi-duckdb
takahashiikki
0
210
TerraformとStrands AgentsでAmazon Bedrock AgentCoreのSSO認証付きエージェントを量産しよう!
neruneruo
4
2.1k
AIエージェントの設計で注意するべきポイント6選
har1101
6
2.7k
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
140
Flutter On-device AI로 완성하는 오프라인 앱, 박제창 @DevFest INCHEON 2025
itsmedreamwalker
1
160
リリース時」テストから「デイリー実行」へ!開発マネージャが取り組んだ、レガシー自動テストのモダン化戦略
goataka
0
150
開発に寄りそう自動テストの実現
goyoki
2
1.5k
LLM Çağında Backend Olmak: 10 Milyon Prompt'u Milisaniyede Sorgulamak
selcukusta
0
140
C-Shared Buildで突破するAI Agent バックテストの壁
po3rin
0
420
チームをチームにするEM
hitode909
0
410
Featured
See All Featured
Darren the Foodie - Storyboard
khoart
PRO
0
2k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Believing is Seeing
oripsolob
0
17
Being A Developer After 40
akosma
91
590k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
520
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
1
210
Building a Scalable Design System with Sketch
lauravandoore
463
34k
The Invisible Side of Design
smashingmag
302
51k
Music & Morning Musume
bryan
46
7k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
400
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
410
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