SlideShare a Scribd company logo
1 of 19
Madan Panthi
Senior Software Engineer
Matat Technologies.
The Last Man Debugger
#WCNP2024
“I don’t use Debuggers,
I stare at the code until it confesses”
Steps of DebuggingThat I do
PHP Functions
Array ( [name] => John Doe [age] => 25 [height] => 5.9
[is_student] => 1 [grades] => Array ( [Math] => 90 [Science]
=> 85 [English] => 92 ) [hobbies] => Array ( [0] => Reading
[1] => Traveling [2] => Photography ) )
PHP Functions but beautiful
Debuggers?
Php Debug
Configuring the php.ini file
WP Debug
Configuring the
Now you can view errors on wp-content/debug.log
wp-config.php file
Understanding debug.log
[02-Jan-2024 10:31:39 UTC] PHP Fatal error: Uncaught Error: Failed opening required '/Users/manjul/Local
Sites/error_application/app/public/wp-content/themes/error_theme/inc/Matat_Customers/Customers.php'
(include_path='.:/usr/share/php:/www/wp-content/pear') in /Users/manjul/Local
Sites/error_application/app/public/wp-content/themes/error_theme/functions.php:203
Stack trace:
#0 /Users/manjul/Local Sites/error_application/app/public/wp-settings.php(611): include()
#1 /Users/manjul/Local Sites/error_application/app/public/wp-config.php(105):
require_once('/Users/manjul/L...')
#2 /Users/manjul/Local Sites/error_application/app/public/wp-load.php(50): require_once('/Users/manjul/L...')
#3 /Users/manjul/Local Sites/error_application/app/public/wp-blog-header.php(13):
require_once('/Users/manjul/L...')
#4 /Users/manjul/Local Sites/error_application/app/public/index.php(17): require('/Users/manjul/L...')
#5 {main}
thrown in /Users/manjul/Local Sites/error_application/app/public/wp-
content/themes/error_theme/functions.php on line 203
Understanding debug.log
[02-Jan-2024 10:31:39 UTC] PHP Fatal error: Uncaught Error: Failed opening required '/Users/manjul/Local
Sites/error_application/app/public/wp-content/themes/error_theme/inc/Customrs/Customers.php'
(include_path='.:/usr/share/php:/www/wp-content/pear') in /Users/manjul/Local
Sites/error_application/app/public/wp-content/themes/error_theme/functions.php:203
Stack trace:
#0 /Users/manjul/Local Sites/error_application/app/public/wp-settings.php(611): include()
#1 /Users/manjul/Local Sites/error_application/app/public/wp-config.php(105):
require_once('/Users/manjul/L...')
#2 /Users/manjul/Local Sites/error_application/app/public/wp-load.php(50): require_once('/Users/manjul/L...')
#3 /Users/manjul/Local Sites/error_application/app/public/wp-blog-header.php(13):
require_once('/Users/manjul/L...')
#4 /Users/manjul/Local Sites/error_application/app/public/index.php(17): require('/Users/manjul/L...')
#5 {main}
thrown in /Users/manjul/Local Sites/error_application/app/public/wp-
content/themes/error_theme/functions.php on line 203
Understanding debug.log
[02-Jan-2024 10:31:39 UTC] PHP Fatal error: Uncaught Error: Failed opening required '/Users/manjul/Local
Sites/error_application/app/public/wp-content/themes/error_theme/inc/Customrs/Customers.php'
(include_path='.:/usr/share/php:/www/wp-content/pear') in /Users/manjul/Local
Sites/error_application/app/public/wp-content/themes/error_theme/functions.php:203
Stack trace:
#0 /Users/manjul/Local Sites/error_application/app/public/wp-settings.php(611): include()
#1 /Users/manjul/Local Sites/error_application/app/public/wp-config.php(105):
require_once('/Users/manjul/L...')
#2 /Users/manjul/Local Sites/error_application/app/public/wp-load.php(50): require_once('/Users/manjul/L...')
#3 /Users/manjul/Local Sites/error_application/app/public/wp-blog-header.php(13):
require_once('/Users/manjul/L...')
#4 /Users/manjul/Local Sites/error_application/app/public/index.php(17): require('/Users/manjul/L...')
#5 {main}
thrown in /Users/manjul/Local Sites/error_application/app/public/wp-
content/themes/error_theme/functions.php on line 203
You are in production
You are in production
Debugging Plugins
• Query Monitor
• Debug Bar
• Health Check & Troubleshooting
• Ray
Query Monitor
Query Monitor
Query Monitor
Health Check & Troubleshooting
Ray
Madan Panthi
Senior Software Engineer
Matat Technologies.
Thank you!!!
#WCNP2024
The Last Man Debugger

More Related Content

Similar to The Last Man Debugger | #wcnp2024

Developing php applications with netbeans ide
Developing php applications with netbeans ideDeveloping php applications with netbeans ide
Developing php applications with netbeans ideSayed Ahmed
 
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...Anna Russo
 
STARWEST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STARWEST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...STARWEST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STARWEST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...Anna Russo
 
Behavior & Specification Driven Development in PHP - #OpenWest
Behavior & Specification Driven Development in PHP - #OpenWestBehavior & Specification Driven Development in PHP - #OpenWest
Behavior & Specification Driven Development in PHP - #OpenWestJoshua Warren
 
Project Server 2002 Implementation Lessons Learned
Project Server 2002 Implementation Lessons LearnedProject Server 2002 Implementation Lessons Learned
Project Server 2002 Implementation Lessons Learnedwebhostingguy
 
WordPress Debugging Tips and Tricks
WordPress Debugging Tips and TricksWordPress Debugging Tips and Tricks
WordPress Debugging Tips and TricksKeanan Koppenhaver
 
STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...Anna Russo
 
Enterprise PHP (PHP London Conference 2008)
Enterprise PHP (PHP London Conference 2008)Enterprise PHP (PHP London Conference 2008)
Enterprise PHP (PHP London Conference 2008)Ivo Jansch
 
Increasing productivity using visual studio 2017
Increasing productivity using visual studio 2017Increasing productivity using visual studio 2017
Increasing productivity using visual studio 2017Md. Mahedee Hasan
 
Calculator using Java
Calculator using JavaCalculator using Java
Calculator using JavaGarvit Anand
 
A modern architecturereview–usingcodereviewtools-ver-3.5
A modern architecturereview–usingcodereviewtools-ver-3.5A modern architecturereview–usingcodereviewtools-ver-3.5
A modern architecturereview–usingcodereviewtools-ver-3.5SSW
 
Java2day 2013 : Modern workflows for javascript integration
Java2day 2013 : Modern workflows for javascript integrationJava2day 2013 : Modern workflows for javascript integration
Java2day 2013 : Modern workflows for javascript integrationMite Mitreski
 
DDD (Debugger Driven Development)
DDD (Debugger Driven Development)DDD (Debugger Driven Development)
DDD (Debugger Driven Development)Carlos Granados
 
Creating Openbravo Workspace Widgets
Creating Openbravo Workspace WidgetsCreating Openbravo Workspace Widgets
Creating Openbravo Workspace WidgetsRob Goris
 
Webinar: Zend framework Getting to grips (ZF1)
Webinar: Zend framework Getting to grips (ZF1)Webinar: Zend framework Getting to grips (ZF1)
Webinar: Zend framework Getting to grips (ZF1)Ryan Mauger
 
Nt1310 Unit 5 Administrative Tools
Nt1310 Unit 5 Administrative ToolsNt1310 Unit 5 Administrative Tools
Nt1310 Unit 5 Administrative ToolsJenny Smith
 
Debugging Drupal - How to Debug your Drupal Application
Debugging Drupal - How to Debug your Drupal ApplicationDebugging Drupal - How to Debug your Drupal Application
Debugging Drupal - How to Debug your Drupal ApplicationZyxware Technologies
 
Grow your own tools - VilniusRB
Grow your own tools - VilniusRBGrow your own tools - VilniusRB
Grow your own tools - VilniusRBRemigijus Jodelis
 

Similar to The Last Man Debugger | #wcnp2024 (20)

Developing php applications with netbeans ide
Developing php applications with netbeans ideDeveloping php applications with netbeans ide
Developing php applications with netbeans ide
 
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
 
STARWEST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STARWEST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...STARWEST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STARWEST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
 
os-php-wiki5-a4
os-php-wiki5-a4os-php-wiki5-a4
os-php-wiki5-a4
 
os-php-wiki5-a4
os-php-wiki5-a4os-php-wiki5-a4
os-php-wiki5-a4
 
Behavior & Specification Driven Development in PHP - #OpenWest
Behavior & Specification Driven Development in PHP - #OpenWestBehavior & Specification Driven Development in PHP - #OpenWest
Behavior & Specification Driven Development in PHP - #OpenWest
 
Project Server 2002 Implementation Lessons Learned
Project Server 2002 Implementation Lessons LearnedProject Server 2002 Implementation Lessons Learned
Project Server 2002 Implementation Lessons Learned
 
WordPress Debugging Tips and Tricks
WordPress Debugging Tips and TricksWordPress Debugging Tips and Tricks
WordPress Debugging Tips and Tricks
 
STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
 
Enterprise PHP (PHP London Conference 2008)
Enterprise PHP (PHP London Conference 2008)Enterprise PHP (PHP London Conference 2008)
Enterprise PHP (PHP London Conference 2008)
 
Increasing productivity using visual studio 2017
Increasing productivity using visual studio 2017Increasing productivity using visual studio 2017
Increasing productivity using visual studio 2017
 
Calculator using Java
Calculator using JavaCalculator using Java
Calculator using Java
 
A modern architecturereview–usingcodereviewtools-ver-3.5
A modern architecturereview–usingcodereviewtools-ver-3.5A modern architecturereview–usingcodereviewtools-ver-3.5
A modern architecturereview–usingcodereviewtools-ver-3.5
 
Java2day 2013 : Modern workflows for javascript integration
Java2day 2013 : Modern workflows for javascript integrationJava2day 2013 : Modern workflows for javascript integration
Java2day 2013 : Modern workflows for javascript integration
 
DDD (Debugger Driven Development)
DDD (Debugger Driven Development)DDD (Debugger Driven Development)
DDD (Debugger Driven Development)
 
Creating Openbravo Workspace Widgets
Creating Openbravo Workspace WidgetsCreating Openbravo Workspace Widgets
Creating Openbravo Workspace Widgets
 
Webinar: Zend framework Getting to grips (ZF1)
Webinar: Zend framework Getting to grips (ZF1)Webinar: Zend framework Getting to grips (ZF1)
Webinar: Zend framework Getting to grips (ZF1)
 
Nt1310 Unit 5 Administrative Tools
Nt1310 Unit 5 Administrative ToolsNt1310 Unit 5 Administrative Tools
Nt1310 Unit 5 Administrative Tools
 
Debugging Drupal - How to Debug your Drupal Application
Debugging Drupal - How to Debug your Drupal ApplicationDebugging Drupal - How to Debug your Drupal Application
Debugging Drupal - How to Debug your Drupal Application
 
Grow your own tools - VilniusRB
Grow your own tools - VilniusRBGrow your own tools - VilniusRB
Grow your own tools - VilniusRB
 

Recently uploaded

Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 

Recently uploaded (20)

Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 

The Last Man Debugger | #wcnp2024

  • 1. Madan Panthi Senior Software Engineer Matat Technologies. The Last Man Debugger #WCNP2024 “I don’t use Debuggers, I stare at the code until it confesses”
  • 3. PHP Functions Array ( [name] => John Doe [age] => 25 [height] => 5.9 [is_student] => 1 [grades] => Array ( [Math] => 90 [Science] => 85 [English] => 92 ) [hobbies] => Array ( [0] => Reading [1] => Traveling [2] => Photography ) )
  • 4. PHP Functions but beautiful
  • 7. WP Debug Configuring the Now you can view errors on wp-content/debug.log wp-config.php file
  • 8. Understanding debug.log [02-Jan-2024 10:31:39 UTC] PHP Fatal error: Uncaught Error: Failed opening required '/Users/manjul/Local Sites/error_application/app/public/wp-content/themes/error_theme/inc/Matat_Customers/Customers.php' (include_path='.:/usr/share/php:/www/wp-content/pear') in /Users/manjul/Local Sites/error_application/app/public/wp-content/themes/error_theme/functions.php:203 Stack trace: #0 /Users/manjul/Local Sites/error_application/app/public/wp-settings.php(611): include() #1 /Users/manjul/Local Sites/error_application/app/public/wp-config.php(105): require_once('/Users/manjul/L...') #2 /Users/manjul/Local Sites/error_application/app/public/wp-load.php(50): require_once('/Users/manjul/L...') #3 /Users/manjul/Local Sites/error_application/app/public/wp-blog-header.php(13): require_once('/Users/manjul/L...') #4 /Users/manjul/Local Sites/error_application/app/public/index.php(17): require('/Users/manjul/L...') #5 {main} thrown in /Users/manjul/Local Sites/error_application/app/public/wp- content/themes/error_theme/functions.php on line 203
  • 9. Understanding debug.log [02-Jan-2024 10:31:39 UTC] PHP Fatal error: Uncaught Error: Failed opening required '/Users/manjul/Local Sites/error_application/app/public/wp-content/themes/error_theme/inc/Customrs/Customers.php' (include_path='.:/usr/share/php:/www/wp-content/pear') in /Users/manjul/Local Sites/error_application/app/public/wp-content/themes/error_theme/functions.php:203 Stack trace: #0 /Users/manjul/Local Sites/error_application/app/public/wp-settings.php(611): include() #1 /Users/manjul/Local Sites/error_application/app/public/wp-config.php(105): require_once('/Users/manjul/L...') #2 /Users/manjul/Local Sites/error_application/app/public/wp-load.php(50): require_once('/Users/manjul/L...') #3 /Users/manjul/Local Sites/error_application/app/public/wp-blog-header.php(13): require_once('/Users/manjul/L...') #4 /Users/manjul/Local Sites/error_application/app/public/index.php(17): require('/Users/manjul/L...') #5 {main} thrown in /Users/manjul/Local Sites/error_application/app/public/wp- content/themes/error_theme/functions.php on line 203
  • 10. Understanding debug.log [02-Jan-2024 10:31:39 UTC] PHP Fatal error: Uncaught Error: Failed opening required '/Users/manjul/Local Sites/error_application/app/public/wp-content/themes/error_theme/inc/Customrs/Customers.php' (include_path='.:/usr/share/php:/www/wp-content/pear') in /Users/manjul/Local Sites/error_application/app/public/wp-content/themes/error_theme/functions.php:203 Stack trace: #0 /Users/manjul/Local Sites/error_application/app/public/wp-settings.php(611): include() #1 /Users/manjul/Local Sites/error_application/app/public/wp-config.php(105): require_once('/Users/manjul/L...') #2 /Users/manjul/Local Sites/error_application/app/public/wp-load.php(50): require_once('/Users/manjul/L...') #3 /Users/manjul/Local Sites/error_application/app/public/wp-blog-header.php(13): require_once('/Users/manjul/L...') #4 /Users/manjul/Local Sites/error_application/app/public/index.php(17): require('/Users/manjul/L...') #5 {main} thrown in /Users/manjul/Local Sites/error_application/app/public/wp- content/themes/error_theme/functions.php on line 203
  • 11. You are in production
  • 12. You are in production
  • 13. Debugging Plugins • Query Monitor • Debug Bar • Health Check & Troubleshooting • Ray
  • 17. Health Check & Troubleshooting
  • 18. Ray
  • 19. Madan Panthi Senior Software Engineer Matat Technologies. Thank you!!! #WCNP2024 The Last Man Debugger