Xdebug will forever change the way you debug your PHP code

Tim Bond (09.Feb.2019 at 10:15, 1 hr )
Talk at SunshinePHP 2019 (English - US)

Rating: 5 of 5

We've all used echo, printr, and vardump to figure out why our code doesn't work. But did you know there's an easier way? This talk will demonstrate the use of two popular PHP tools: Xdebug and PhpStorm. Instead of littering your code with statements to send variable values to the browser, using these tools it's possible to pause script execution on a specific line, allowing you to view and edit any variable as well as arbitrary code. Never again will you forget to remove test code before sending it to production!

Who are you?

Claim talk

Talk claims have been moved to the new Joind.in site.

Please login to the new site to claim your talk

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

Please note: you are not logged in and will be posting anonymously!
= one plus five


Rating: 5 of 5

09.Feb.2019 at 11:22 by Scott McCandless (5 comments) via Web2 LIVE

Holy crap, I feel like a carpenter that has been building houses for 30 years and just learned about this thing called a Tape Measure. I ?

Can't wait to start using the tools and techniques Tim showed us today. Thanks

Rating: 5 of 5

09.Feb.2019 at 11:24 by Chris Gearhart (9 comments) via Web2 LIVE

Great talk, I'm very interested in taking this back to my team to try this out!

Rating: 5 of 5

09.Feb.2019 at 11:55 by Nate Bockoven (5 comments) via Web2 LIVE

I've used xdebug before, and learned there's a skip method list and conditionals. Thank you!

Rating: 5 of 5

09.Feb.2019 at 12:15 by James LaChance (13 comments) via Web2 LIVE

This was a great overview of not only xdebug, but debugging in general, as well!

Rating: 5 of 5

09.Feb.2019 at 12:24 by Derek Honeycutt (11 comments) via Web2 LIVE

Great talk. Awesome job of connecting the dots and explaining everything.

Rating: 5 of 5

09.Feb.2019 at 13:39 by Christopher Wilson (11 comments) via Web2 LIVE

I really liked the variety of ways covered on ways to use XDebug, and the specific examples and screenshots were nice, too. Using the integration with PHPStorm was a good call since so many people use it.

Rating: 5 of 5

10.Feb.2019 at 11:04 by Michael Larsen (10 comments) via Web2 LIVE

Not much to say. Great talk

Rating: 5 of 5

10.Feb.2019 at 12:00 by Dana Luther (50 comments) via Web2 LIVE

I’ve never gotten xdebug to work in PHPStorm before with our stack setup, so I’m very excited to try this out now that I know where to find the proper settings! I’ve only used it for coverage reports in the past.

© Joind.in 2019