say no to var_dump
DESCRIPTION
Slides from my recent talk about debugging techniques using xdebug. Given at #bcblackpool and #phpleedsTRANSCRIPT
Example Settingsxdebug.dump.GET=*xdebug.dump.POST=*xdebug.dump.SERVER = REMOTE_ADDR,REQUEST_METHOD,HTTP_ACCEPT_LANGUAGE,HTTP_ACCEPT_LANGUAGE
Tuesday, 17 August 2010
Example Settings
xdebug.remote_enable=1xdebug.remote_handler=dbgpxdebug.remote_mode=reqxdebug.remote_host=127.0.0.1xdebug.remote_port=9000xdebug.idekey="netbeans-xdebug"
Tuesday, 17 August 2010
Installation
• http://xdebug.org/docs/install
• Deb / Ubuntu - Apt
• PECL
• http://xdebug.org/find-binary.phpUses phpinfo() information to provide tailored installation instructions!
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