Artwork

Content provided by Aurooba and Brian, Aurooba Ahmed, and Brian Coords. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Aurooba and Brian, Aurooba Ahmed, and Brian Coords or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

Tips on how to to debug your WordPress code

38:23
 
Share
 

Manage episode 360876389 series 3440550
Content provided by Aurooba and Brian, Aurooba Ahmed, and Brian Coords. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Aurooba and Brian, Aurooba Ahmed, and Brian Coords or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.

On today's episode, Aurooba manufactures a little bug in her code and then Brian helps debug what's going on. As they debug the code, they discuss the high level approach to debugging, some helpful WordPress tools to make finding problems easier, and discuss the role coding standards can have in helping you debug better.

A full transcript of the episode is available on the website. Watch the video podcast on YouTube and subscribe to our channel and newsletter to hear about episodes (and more) first!

Query Monitor – https://en-ca.wordpress.org/plugins/query-monitor/
Using either option or options in ACF – https://www.advancedcustomfields.com/resources/get_field/#get-a-value-from-different-objects
The code from this episode – https://github.com/viewSourcePodcast/viewSource-blocks/blob/debug-episode/functions.php
Brian's website – https://www.briancoords.com
Aurooba's website – https://aurooba.com
viewSource Newsletter – https://viewsource.fm/subscribe

  • (00:00) - Introduction
  • (02:55) - How do you debug?
  • (08:16) - Live debugging a little problem
  • (09:10) - Giving context for the bug
  • (11:13) - Using Query Monitor
  • (14:48) - Talking through the problem
  • (16:51) - Adding conditionals appropriately
  • (19:09) - Debugging a functional logic error
  • (19:44) - Let's var_dump()!
  • (25:50) - Thinking about what should happen
  • (32:37) - Providing code feedback
  • (33:54) - Being more verbose in your code
  • (34:24) - Naming variables better
  • (35:43) - Choosing the right kind of conditionals
  • (37:34) - Conclusion
  continue reading

36 episodes

Artwork
iconShare
 
Manage episode 360876389 series 3440550
Content provided by Aurooba and Brian, Aurooba Ahmed, and Brian Coords. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Aurooba and Brian, Aurooba Ahmed, and Brian Coords or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.

On today's episode, Aurooba manufactures a little bug in her code and then Brian helps debug what's going on. As they debug the code, they discuss the high level approach to debugging, some helpful WordPress tools to make finding problems easier, and discuss the role coding standards can have in helping you debug better.

A full transcript of the episode is available on the website. Watch the video podcast on YouTube and subscribe to our channel and newsletter to hear about episodes (and more) first!

Query Monitor – https://en-ca.wordpress.org/plugins/query-monitor/
Using either option or options in ACF – https://www.advancedcustomfields.com/resources/get_field/#get-a-value-from-different-objects
The code from this episode – https://github.com/viewSourcePodcast/viewSource-blocks/blob/debug-episode/functions.php
Brian's website – https://www.briancoords.com
Aurooba's website – https://aurooba.com
viewSource Newsletter – https://viewsource.fm/subscribe

  • (00:00) - Introduction
  • (02:55) - How do you debug?
  • (08:16) - Live debugging a little problem
  • (09:10) - Giving context for the bug
  • (11:13) - Using Query Monitor
  • (14:48) - Talking through the problem
  • (16:51) - Adding conditionals appropriately
  • (19:09) - Debugging a functional logic error
  • (19:44) - Let's var_dump()!
  • (25:50) - Thinking about what should happen
  • (32:37) - Providing code feedback
  • (33:54) - Being more verbose in your code
  • (34:24) - Naming variables better
  • (35:43) - Choosing the right kind of conditionals
  • (37:34) - Conclusion
  continue reading

36 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide

Copyright 2025 | Privacy Policy | Terms of Service | | Copyright
Listen to this show while you explore
Play