Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
xdebug
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Peter Tilsen
July 14, 2015
Technology
83
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
xdebug
Peter Tilsen
July 14, 2015
More Decks by Peter Tilsen
See All by Peter Tilsen
Why did we choose to use GoLang
petertilsen
0
190
xdebug configuration
petertilsen
0
90
xdebug Profiler
petertilsen
0
56
Other Decks in Technology
See All in Technology
大型犬好きによるPugの紹介
yamanoku
1
160
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
Code for Security プロジェクト紹介 2026年10月
yu23ki14
0
110
その Valkey 使いこなしていますか?
onk
PRO
5
1.5k
オントロジーって 結局なにもの? AI エージェントに「意味」を渡す知識設計の話
greenmidori
0
190
Classmethod Company Deck
satoshi7
1
680
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
0
170
go-sqletch
moznion
0
140
夫婦で子育てするための育児標準化
codmoninc
PRO
0
340
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
160
Claude Code本は、どのように執筆チームで書かれたか
oikon48
1
380
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.2k
Featured
See All Featured
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
410
Mind Mapping
helmedeiros
1
400
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Ethics towards AI in product and experience design
skipperchong
2
430
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
Unsuck your backbone
ammeep
672
58k
Balancing Empowerment & Direction
lara
6
1.3k
Practical Orchestrator
shlominoach
192
12k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
Exploring anti-patterns in Rails
aemeredith
4
540
The Invisible Side of Design
smashingmag
301
52k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Transcript
XDebug
XDebug • What is this and what is it good
for? • Installation • Configuration • Breakpoints • Watches • Demo
XDebug What is this and what is it good for?
• PHP extension providing debugging and profiling capabilities • Display features • Traces • Coverage analysis • Remote debugging • Profiling (xdebug profiler)
XDebug What is this and what is it good for?
• Display features • Replaces var_dump(), provides more readable output (http://xdebug.org/docs/display)
XDebug What is this and what is it good for?
• Traces • Stack traces • Function traces
XDebug What is this and what is it good for?
• Coverage analysis • Used by phpunit (clover report etc.)
XDebug What is this and what is it good for?
• Remote debugging • Interface for remote debugging (phpstorm)
XDebug What is this and what is it good for?
• Profiler
XDebug Installation • PEAR/PECL, source (http://xdebug.org/docs/install)
XDebug Configuration • Minimum requirements • Display configuration • Remote
configuration
XDebug Configuration Phpstorm • Remote configuration • Server configuration remote
port in php.ini
XDebug Configuration Phpstorm • Run configuration Ide key
XDebug Configuration xdebug enabler https://chrome.google.com/webstore/ detail/xdebug-helper
XDebug Cli mode • Debugging cli script calls • export
XDEBUG_CONFIG=“idekey=PHPSTORM" • php -d memory_limit=500M ./bin/phpunit -c app / vagrant/src/Uniplaces/AccommodationBundle/ Tests/Functional
XDebug Breakpoints • Intentional stopping or pausing place in a
program • setting • disabling • suspending with condition • (logging, removing once hit, etc.)
XDebug Watches • Tool for further inspection of values of
selected variables and expressions • add, edit and remove (see demo)
XDebug • Demo