SlideShare a Scribd company logo
Debugging
Javascript
Munich Frontend Developers :: 13.05.2020 :: @hamatti
JuhisHi, I’m
Developer Advocate @ Futurice
Founder of Turku ❤ Frontend
@hamatti :: hamatti.org
From Helsinki, "
FUNDAMENTALS
Munich Frontend Devs @hamatti
FUNDAMENTALS
Munich Frontend Devs @hamatti
TOOLS & TECHNIQUES
NON-TECHNICAL METHODS
FUNDAMENTALS
Munich Frontend Devs @hamatti
TOOLS & TECHNIQUES
FUNDAMENTALS
Munich Frontend Devs @hamatti
STOP & BREATHE
Munich Frontend Devs @hamatti
REPRODUCE
Munich Frontend Devs @hamatti
REPRODUCE LOCATE
Munich Frontend Devs @hamatti
REPRODUCE LOCATE FIX
Munich Frontend Devs @hamatti
REPRODUCE LOCATE FIX
Munich Frontend Devs @hamatti
https://twitter.com/JenMsft/status/1256007715425382400/Munich Frontend Devs @hamatti
FROM END TO START
Munich Frontend Devs @hamatti
TOOLS & TECHNIQUES
Munich Frontend Devs @hamatti
CONSOLE.__
Munich Frontend Devs @hamatti
console.log
Munich Frontend Devs @hamatti
console.log
Munich Frontend Devs @hamatti
Template literals
Munich Frontend Devs @hamatti
Template literals
Munich Frontend Devs @hamatti
Multiple values with template literals
Munich Frontend Devs @hamatti
Multiple values with template literals
Munich Frontend Devs @hamatti
Object Property Value Shorthand
Munich Frontend Devs @hamatti
Object Property Value Shorthand
Munich Frontend Devs @hamatti
With CSS
Munich Frontend Devs @hamatti
With CSS
Munich Frontend Devs @hamatti
console.table
Munich Frontend Devs @hamatti
console.table
Munich Frontend Devs @hamatti
console.trace
console.count
console.group
https://developer.mozilla.org/en-US/docs/Web/API/Console
+
Munich Frontend Devs @hamatti
BROWSERS’
DEVELOPER TOOLS
Munich Frontend Devs @hamatti
DOM Inspector
Styles
Debugger
Network requests
Performance
Accessibility
Framework extensions
Munich Frontend Devs @hamatti
BROWSERS’ DEVELOPER TOOLS
Google Chrome
Munich Frontend Devs @hamatti
https://developers.google.com/web/tools/chrome-devtools
https://developer.mozilla.org/en-US/docs/Tools
Mozilla Firefox
BROWSERS’ DEVELOPER TOOLS
DEBUGGER
Munich Frontend Devs @hamatti
debugger
Munich Frontend Devs @hamatti
debugger
Munich Frontend Devs @hamatti
debugger
continue until next breakpoint
Munich Frontend Devs @hamatti
debugger
continue until next breakpoint
call function without
stepping into it
Munich Frontend Devs @hamatti
debugger
continue until next breakpoint
call function without
stepping into it
step into a function
Munich Frontend Devs @hamatti
debugger
continue until next breakpoint
call function without
stepping into it
step into a function
step out of a function
Munich Frontend Devs @hamatti
debugger
continue until next breakpoint
call function without
stepping into it
step into a function
step out of a function
next line
Munich Frontend Devs @hamatti
debugger
continue until next breakpoint
call function without
stepping into it
step into a function
step out of a function
next line
turn breakpoints off
Munich Frontend Devs @hamatti
breakpoints
Munich Frontend Devs @hamatti
conditional breakpoints
Munich Frontend Devs @hamatti
DOM breakpoints
Munich Frontend Devs @hamatti
NON-TECHNICAL METHODS
Munich Frontend Devs @hamatti
BRAIN DUMP
Munich Frontend Devs @hamatti
Munich Frontend Devs @hamatti
WRITE DOWN
1. WHAT IS THE PROBLEM?
Munich Frontend Devs @hamatti
WRITE DOWN
1. WHAT IS THE PROBLEM?
2. WHAT ARE YOUR ASSUMPTIONS?
Munich Frontend Devs @hamatti
WRITE DOWN
1. WHAT IS THE PROBLEM?
2. WHAT ARE YOUR ASSUMPTIONS?
3. WHAT HAVE YOU TRIED?
Munich Frontend Devs @hamatti
WRITE DOWN
TAKE A BREAK
Munich Frontend Devs @hamatti
TALK TO
A RUBBER DUCK
Munich Frontend Devs @hamatti
humanetechguides.com/debugging
Munich Frontend Devs @hamatti
Thanks!
juhis@futurice.com
@hamatti in Twitter
hamatti.org
Munich Frontend Devs @hamatti
Ad

Recommended

PPTX
Indiana Jones and lost crossplatform
José Manuel Montero Ortega
 
KEY
PhoneGap 101 & Toura Mulberry
TouraDev
 
PDF
Full stack-web-design
Kevin Conboy
 
PPTX
FAKE (F# Make) & Automation
Sergey Tihon
 
PDF
Meetup groups you need to join if you are new to tech
Designveloper
 
PDF
Spree Ecommerce (Commit university workshop)
DevInterface srl
 
PPTX
Advanced Cross-Platform Mobile Apps with Azure Mobile Apps and Xamarin
Cheah Eng Soon
 
PPTX
Reactive declarative UI as code - DroidCon Vietnam 2019
oradoe
 
PDF
An Intense Overview of the React Ecosystem
Rami Sayar
 
PDF
An Overview of the React Ecosystem
FITC
 
PDF
Front-End Developer's Career Roadmap
WebStackAcademy
 
PDF
Run around Chrome Inspector
Tiang Cheng
 
PPTX
ReactJS
Fatih Şimşek
 
PDF
Getting started with dev tools (4/10/17 DC)
Daniel Friedman
 
PPTX
Improving Your Debugging Skills In WordPress
Imran Sayed
 
PDF
Beginner's Guide to Frontend Development: Comparing Angular, React, Ember, an...
Prasid Pathak
 
PPTX
Shift Remote FRONTEND: Micro Frontend Architecture: A Look Into the Future - ...
Shift Conference
 
PDF
Debugging Django @ HelPy, Juha-Matti Santala 24.5.2022
Juha-Matti Santala
 
PDF
Learning Rust - experiences from a Python/Javascript developer
Juha-Matti Santala
 
PDF
Contemporary Documentation @ PyAmsterdam, 2021-03-10
Juha-Matti Santala
 
PDF
Contemporary Documentation @ sthml.js
Juha-Matti Santala
 
PDF
Contemporary Documentation, Django Day Copenhagen
Juha-Matti Santala
 
PDF
Debugging Python - Python Users Berlin 14.5.2020
Juha-Matti Santala
 
PDF
HelsinkiJS: 11ty + Ghost: Static Sites with Great Editor UX
Juha-Matti Santala
 
PDF
PyCon Estonia: Contemporary Documentation
Juha-Matti Santala
 
PDF
Contemporary Documentation - HelsinkiJS
Juha-Matti Santala
 
PDF
Contemporary Documentation - TampereJS
Juha-Matti Santala
 
PDF
The Art of Side Projects
Juha-Matti Santala
 
PDF
“Graphical Perception and Graphical Methods for Analyzing Scientific Data” - ...
Juha-Matti Santala
 

More Related Content

Similar to Debugging Javascript - Munich Frontend Developers 13.5.2020 (10)

PDF
An Intense Overview of the React Ecosystem
Rami Sayar
 
PDF
An Overview of the React Ecosystem
FITC
 
PDF
Front-End Developer's Career Roadmap
WebStackAcademy
 
PDF
Run around Chrome Inspector
Tiang Cheng
 
PPTX
ReactJS
Fatih Şimşek
 
PDF
Getting started with dev tools (4/10/17 DC)
Daniel Friedman
 
PPTX
Improving Your Debugging Skills In WordPress
Imran Sayed
 
PDF
Beginner's Guide to Frontend Development: Comparing Angular, React, Ember, an...
Prasid Pathak
 
PPTX
Shift Remote FRONTEND: Micro Frontend Architecture: A Look Into the Future - ...
Shift Conference
 
An Intense Overview of the React Ecosystem
Rami Sayar
 
An Overview of the React Ecosystem
FITC
 
Front-End Developer's Career Roadmap
WebStackAcademy
 
Run around Chrome Inspector
Tiang Cheng
 
Getting started with dev tools (4/10/17 DC)
Daniel Friedman
 
Improving Your Debugging Skills In WordPress
Imran Sayed
 
Beginner's Guide to Frontend Development: Comparing Angular, React, Ember, an...
Prasid Pathak
 
Shift Remote FRONTEND: Micro Frontend Architecture: A Look Into the Future - ...
Shift Conference
 

More from Juha-Matti Santala (20)

PDF
Debugging Django @ HelPy, Juha-Matti Santala 24.5.2022
Juha-Matti Santala
 
PDF
Learning Rust - experiences from a Python/Javascript developer
Juha-Matti Santala
 
PDF
Contemporary Documentation @ PyAmsterdam, 2021-03-10
Juha-Matti Santala
 
PDF
Contemporary Documentation @ sthml.js
Juha-Matti Santala
 
PDF
Contemporary Documentation, Django Day Copenhagen
Juha-Matti Santala
 
PDF
Debugging Python - Python Users Berlin 14.5.2020
Juha-Matti Santala
 
PDF
HelsinkiJS: 11ty + Ghost: Static Sites with Great Editor UX
Juha-Matti Santala
 
PDF
PyCon Estonia: Contemporary Documentation
Juha-Matti Santala
 
PDF
Contemporary Documentation - HelsinkiJS
Juha-Matti Santala
 
PDF
Contemporary Documentation - TampereJS
Juha-Matti Santala
 
PDF
The Art of Side Projects
Juha-Matti Santala
 
PDF
“Graphical Perception and Graphical Methods for Analyzing Scientific Data” - ...
Juha-Matti Santala
 
PDF
PyCon CZ 2019 Lightning Talk: 7 Days to Ostrava
Juha-Matti Santala
 
PDF
I teach, therefore I learn
Juha-Matti Santala
 
PDF
Inspiration, Learning and Experimentation in Codepen
Juha-Matti Santala
 
PDF
You should have FOMO: What you're missing out if you're still using Python 2.7
Juha-Matti Santala
 
PDF
OuluES Human Accelerator: Dream Workshop
Juha-Matti Santala
 
PDF
Minimum Viable Product: the workshop
Juha-Matti Santala
 
PDF
Stockholm syndrome: or how I learned to love the editor
Juha-Matti Santala
 
PDF
Happy Little Accidents - The Art of Debugging
Juha-Matti Santala
 
Debugging Django @ HelPy, Juha-Matti Santala 24.5.2022
Juha-Matti Santala
 
Learning Rust - experiences from a Python/Javascript developer
Juha-Matti Santala
 
Contemporary Documentation @ PyAmsterdam, 2021-03-10
Juha-Matti Santala
 
Contemporary Documentation @ sthml.js
Juha-Matti Santala
 
Contemporary Documentation, Django Day Copenhagen
Juha-Matti Santala
 
Debugging Python - Python Users Berlin 14.5.2020
Juha-Matti Santala
 
HelsinkiJS: 11ty + Ghost: Static Sites with Great Editor UX
Juha-Matti Santala
 
PyCon Estonia: Contemporary Documentation
Juha-Matti Santala
 
Contemporary Documentation - HelsinkiJS
Juha-Matti Santala
 
Contemporary Documentation - TampereJS
Juha-Matti Santala
 
The Art of Side Projects
Juha-Matti Santala
 
“Graphical Perception and Graphical Methods for Analyzing Scientific Data” - ...
Juha-Matti Santala
 
PyCon CZ 2019 Lightning Talk: 7 Days to Ostrava
Juha-Matti Santala
 
I teach, therefore I learn
Juha-Matti Santala
 
Inspiration, Learning and Experimentation in Codepen
Juha-Matti Santala
 
You should have FOMO: What you're missing out if you're still using Python 2.7
Juha-Matti Santala
 
OuluES Human Accelerator: Dream Workshop
Juha-Matti Santala
 
Minimum Viable Product: the workshop
Juha-Matti Santala
 
Stockholm syndrome: or how I learned to love the editor
Juha-Matti Santala
 
Happy Little Accidents - The Art of Debugging
Juha-Matti Santala
 
Ad

Recently uploaded (20)

PDF
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
 
PDF
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
PDF
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
PPTX
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
PDF
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
PPTX
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
PDF
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
PDF
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
PDF
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
PDF
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
PDF
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
 
PDF
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
digitaljignect
 
PDF
Python Conference Singapore - 19 Jun 2025
ninefyi
 
PDF
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
PDF
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
PDF
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
PDF
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
 
PDF
Agentic AI for Developers and Data Scientists Build an AI Agent in 10 Lines o...
All Things Open
 
PDF
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
 
PPTX
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
 
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
 
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
digitaljignect
 
Python Conference Singapore - 19 Jun 2025
ninefyi
 
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
 
Agentic AI for Developers and Data Scientists Build an AI Agent in 10 Lines o...
All Things Open
 
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
 
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
 
Ad

Debugging Javascript - Munich Frontend Developers 13.5.2020