SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Semelhante a 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
 

Semelhante a 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
 

Último

Implementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdfImplementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdfVictor Lopez
 
A Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationA Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationHelp Desk Migration
 
how-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdfhow-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdfMehmet Akar
 
What need to be mastered as AI-Powered Java Developers
What need to be mastered as AI-Powered Java DevelopersWhat need to be mastered as AI-Powered Java Developers
What need to be mastered as AI-Powered Java DevelopersEmilyJiang23
 
COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...
COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...
COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...naitiksharma1124
 
Agnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in KrakówAgnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in Krakówbim.edu.pl
 
A Guideline to Gorgias to to Re:amaze Data Migration
A Guideline to Gorgias to to Re:amaze Data MigrationA Guideline to Gorgias to to Re:amaze Data Migration
A Guideline to Gorgias to to Re:amaze Data MigrationHelp Desk Migration
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesNeo4j
 
JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)Max Lee
 
CompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdfCompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdfFurqanuddin10
 
AI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAlluxio, Inc.
 
Crafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationCrafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationWave PLM
 
IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024vaibhav130304
 
10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdf10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdfkalichargn70th171
 
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Andrea Goulet
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...Alluxio, Inc.
 
How to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabberHow to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabbereGrabber
 

Último (20)

Implementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdfImplementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdf
 
AI Hackathon.pptx
AI                        Hackathon.pptxAI                        Hackathon.pptx
AI Hackathon.pptx
 
A Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationA Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data Migration
 
how-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdfhow-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdf
 
Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024
 
What need to be mastered as AI-Powered Java Developers
What need to be mastered as AI-Powered Java DevelopersWhat need to be mastered as AI-Powered Java Developers
What need to be mastered as AI-Powered Java Developers
 
COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...
COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...
COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...
 
Agnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in KrakówAgnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in Kraków
 
A Guideline to Gorgias to to Re:amaze Data Migration
A Guideline to Gorgias to to Re:amaze Data MigrationA Guideline to Gorgias to to Re:amaze Data Migration
A Guideline to Gorgias to to Re:amaze Data Migration
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
 
JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)
 
CompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdfCompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdf
 
AI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning Framework
 
Crafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationCrafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM Integration
 
IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024
 
10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdf10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdf
 
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
 
5 Reasons Driving Warehouse Management Systems Demand
5 Reasons Driving Warehouse Management Systems Demand5 Reasons Driving Warehouse Management Systems Demand
5 Reasons Driving Warehouse Management Systems Demand
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
 
How to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabberHow to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabber
 

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