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
xdebug
Search
Peter Tilsen
July 14, 2015
Technology
0
74
xdebug
Peter Tilsen
July 14, 2015
Tweet
Share
More Decks by Peter Tilsen
See All by Peter Tilsen
Why did we choose to use GoLang
petertilsen
0
180
xdebug configuration
petertilsen
0
82
xdebug Profiler
petertilsen
0
49
Other Decks in Technology
See All in Technology
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.2k
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
570
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.6k
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
140
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
6
2.2k
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
220
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.5k
Deno・Bunの標準機能やElysiaJSを使ったWebSocketサーバー実装 / ラーメン屋を貸し切ってLT会! IoTLT 2026新年会
you
PRO
0
300
データの整合性を保ちたいだけなんだ
shoheimitani
8
3k
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
Webhook best practices for rock solid and resilient deployments
glaforge
1
270
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
200
Featured
See All Featured
How to build a perfect <img>
jonoalderson
1
4.9k
How to make the Groovebox
asonas
2
1.9k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
Docker and Python
trallard
47
3.7k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Making Projects Easy
brettharned
120
6.6k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
BBQ
matthewcrist
89
10k
Navigating Team Friction
lara
192
16k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
49
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Documentation Writing (for coders)
carmenintech
77
5.2k
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