DEBUGGING SITES
USING CHROME
DEV TOOLS
NICKY PUNJABI
AGENDA
• Chrome Dev Tools Overview
• Workspaces
• Using the Console API and Utility API
• Debugging JavaScript
• Useful Festures
CHROME DEV TOOLS
CHROME DEV TOOLS OVERVIEW
Find it
01
Identify it
02
Fix it
03
WORKSPACES
• It allow us to change files at Runtime.
Add Hover Style
Change Color Remove CSS File
USING THE CONSOLE
• Console Sidebar for Log, Info, Error and Warning.
USING THE CONSOLE
• Console APIs:
• Console.log(data);
• Console.dir(data);
• Console.table(data);
• Console.groupCollapsed(‘’)
• Console.trace();
• Utility APIs: Can only be called using the DEV Tools Console
• $0
• Debug(event)
• Create live expression
DEBUGGING JAVASCRIPT
• Log Point
• Conditional Breakpoint
• Event Listener Breakpoint [Mouse click]
• Breakpoint – Sub-tree modification
• Snippets
USEFUL FEATURE
• document.designMode = "on“
• Multiple cursors – (control + click)
• Show Coverage
REFERENCES
• https://www.pluralsight.com/courses/debugging-sites-chrome-devtools
• https://www.shopify.com/partners/blog/chrome-developer-tools
• https://geekflare.com/chrome-devtools-features/
THANK
YOU

More Related Content

PDF
Hadoop Summit - Interactive Big Data Analysis with Solr, Spark and Hue
PDF
20150627 bigdatala
PPTX
Google Chrome DevTools features overview
PDF
Using Chrome Dev Tools
PDF
Debugging javascript by dipil singh saud
PPTX
Chrome DevTools
PPTX
Marco Liberati - Write once, debug everywhere
PDF
Debug like a doctor
Hadoop Summit - Interactive Big Data Analysis with Solr, Spark and Hue
20150627 bigdatala
Google Chrome DevTools features overview
Using Chrome Dev Tools
Debugging javascript by dipil singh saud
Chrome DevTools
Marco Liberati - Write once, debug everywhere
Debug like a doctor

Similar to Debugging sites using chrome dev tools (20)

PDF
Digging into your DevTools
PDF
Chrome devtool
ODP
20091211 google chrome_developer_tools
PDF
Продвинутая отладка JavaScript с помощью Chrome Dev Tools
PDF
Google Developer Day 2010 Japan: Google Chrome の Developer Tools (ミカイル ナガノフ, ...
PDF
Run around Chrome Inspector
PDF
Chrome Developer Tools
PDF
A Detailed Guide to Chrome Remote Debugging.pdf
PPTX
Kill those bugs with the ultimate tool - Chrome DevTools
PPT
Google Chrome Developer Tools
PDF
Devfest South West, Nigeria - Chrome Developer Tools
PDF
Ustream Techtalks: Google Chrome Developer Tools
PDF
Chrome DevTools 101
PPTX
Browser Developer Tools for APEX Developers
PDF
Getting started with dev tools (atl)
KEY
Tools and Techniques for Faster Development
PDF
googlechromedevelopertools-120424180007-phpapp01.pdf
PDF
Chrome DevTools
PDF
Discover the power of browser developer tools
PDF
Debugging Web Apps on Real Mobile Devices
Digging into your DevTools
Chrome devtool
20091211 google chrome_developer_tools
Продвинутая отладка JavaScript с помощью Chrome Dev Tools
Google Developer Day 2010 Japan: Google Chrome の Developer Tools (ミカイル ナガノフ, ...
Run around Chrome Inspector
Chrome Developer Tools
A Detailed Guide to Chrome Remote Debugging.pdf
Kill those bugs with the ultimate tool - Chrome DevTools
Google Chrome Developer Tools
Devfest South West, Nigeria - Chrome Developer Tools
Ustream Techtalks: Google Chrome Developer Tools
Chrome DevTools 101
Browser Developer Tools for APEX Developers
Getting started with dev tools (atl)
Tools and Techniques for Faster Development
googlechromedevelopertools-120424180007-phpapp01.pdf
Chrome DevTools
Discover the power of browser developer tools
Debugging Web Apps on Real Mobile Devices
Ad

Recently uploaded (20)

PPTX
Tartificialntelligence_presentation.pptx
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
A novel scalable deep ensemble learning framework for big data classification...
PPTX
Web Crawler for Trend Tracking Gen Z Insights.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
A comparative study of natural language inference in Swahili using monolingua...
PPTX
The various Industrial Revolutions .pptx
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
DOCX
search engine optimization ppt fir known well about this
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
August Patch Tuesday
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
Architecture types and enterprise applications.pdf
Tartificialntelligence_presentation.pptx
Enhancing emotion recognition model for a student engagement use case through...
A novel scalable deep ensemble learning framework for big data classification...
Web Crawler for Trend Tracking Gen Z Insights.pptx
Assigned Numbers - 2025 - Bluetooth® Document
DP Operators-handbook-extract for the Mautical Institute
A comparative study of natural language inference in Swahili using monolingua...
The various Industrial Revolutions .pptx
O2C Customer Invoices to Receipt V15A.pptx
Univ-Connecticut-ChatGPT-Presentaion.pdf
search engine optimization ppt fir known well about this
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Benefits of Physical activity for teenagers.pptx
August Patch Tuesday
Group 1 Presentation -Planning and Decision Making .pptx
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
NewMind AI Weekly Chronicles – August ’25 Week III
Architecture types and enterprise applications.pdf
Ad

Debugging sites using chrome dev tools

Editor's Notes

  • #2: Take advantage of the features available in the Chrome Dev Tools to help you find and fix bugs faster. By the end of this session, you’ll have a solid understanding of the most useful DevTools features and how to use them to start debugging your own sites. The bug is a code that is just sitting in one place, doing the wrong thing in the same way every time.
  • #4: It’s like an IDE right inside the browser. Chrome DevTools is a set of web developer tools built directly into the Google Chrome browser. It allows us: Inspect the Generated HTML and Modify the DOM Troubleshooting and manipulating styles Debug JavaScript code and manipulate at Runtime Line Breakpoints Step through your code Inspect Network Request Simulate Mobile Device Most of the functionality is buried within these 9 Menu items spread across the top. The chrome documentation refer to these as Panels. In this session we will focus on the first 3 options. Rest 5 options also have a great set of functionalities that are focused on Performance Monitoring, Tuning and Security.
  • #5: The process of debugging can be broken down into three steps Finding where in the code the problem is occurring. Identifying exactly what is wrong with it. And then fix it.
  • #6: Sources – shows all the files downloaded from the web server for the current page. Notice the little green dot on the files that are downloaded from the server.
  • #9: 'New Pie is',newFavorite newFavorite.includes(“Cherry”)
  • #10: Control + Shift + P