• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Say no to var_dump
 

Say no to var_dump

on

  • 2,222 views

Slides from my recent talk about debugging techniques using xdebug. Given at #bcblackpool and #phpleeds

Slides from my recent talk about debugging techniques using xdebug. Given at #bcblackpool and #phpleeds

Statistics

Views

Total Views
2,222
Views on SlideShare
2,221
Embed Views
1

Actions

Likes
0
Downloads
7
Comments
0

1 Embed 1

http://www.slideshare.net 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Say no to var_dump Say no to var_dump Presentation Transcript

    • Say No To var_dump Debugging PHP with Xdebug Tuesday, 17 August 2010
    • Who am I? Tuesday, 17 August 2010
    • Who are you? Tuesday, 17 August 2010
    • What is Xdebug? Tuesday, 17 August 2010
    • It turns this...... Tuesday, 17 August 2010
    • Tuesday, 17 August 2010
    • Into this..... Tuesday, 17 August 2010
    • With a little more work it turns it into this..... Tuesday, 17 August 2010
    • Tuesday, 17 August 2010
    • Tuesday, 17 August 2010
    • var_dump Tuesday, 17 August 2010
    • It turns this...... Tuesday, 17 August 2010
    • Tuesday, 17 August 2010
    • Tuesday, 17 August 2010
    • How is this achieved? php.ini ini_set Tuesday, 17 August 2010
    • Example Settings xdebug.dump.GET=* xdebug.dump.POST=* xdebug.dump.SERVER = REMOTE_ADDR,REQUEST_METHOD,HTTP_ACCEPT_LANGUA GE,HTTP_ACCEPT_LANGUAGE Tuesday, 17 August 2010
    • The Crown Jewels: Remote Debugging Tuesday, 17 August 2010
    • Say no to var_dump Tuesday, 17 August 2010
    • Xdebug Remote Debug Demo Tuesday, 17 August 2010
    • Example Settings xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000 xdebug.idekey="netbeans-xdebug" Tuesday, 17 August 2010
    • Example Settings Tuesday, 17 August 2010
    • Installation • http://xdebug.org/docs/install • Deb / Ubuntu - Apt • PECL • http://xdebug.org/find-binary.php Uses phpinfo() information to provide tailored installation instructions! Tuesday, 17 August 2010
    • Questions? Tuesday, 17 August 2010
    • Credits & Resources • Derick Rethans - Author of Xdebug ★ http://xdebug.org/ ★ http://derickrethans.nl/ ★ Recent DPC Tutorial ★ The mailing list (very active / quick response) Tuesday, 17 August 2010
    • Me Twitter: @bwaine Email: ben@ben-waine.co.uk Tuesday, 17 August 2010