DevTools Device Mode: Totally Tooling Tips (S3, E5)

Chrome for Developers · Intermediate ·🛠️ AI Tools & Apps ·10y ago

Key Takeaways

Exploring DevTools Device Mode for mobile web debugging

Full Transcript

[Music] so here we are next to a Rainy River our natural environment for working on codes yep and this one's going to be on dev tools so it's Dev TOS rain and boats nothing synthetic about this in the sliest right so today we're talking about responsive tool bar now for a while in Dev tools we've had device mode which has been useful for like building responsive sites this is sort of an evolution of that tooling so um some of the new things we've added are support for this little toolbar that lets you toggle between like different mobile sizes like medium large tablet desktop but we've also um improved device emulation so if we switch over to Nexus 5x for example you now get a little bit of device artwork um from Android showing on the top and the bottom yeah and then they've added an extra little drop down where you can then say you want portrait with a navigation bar which is like Chrome's URL bar um but you can also do portrait and landscape with key board as well which is kind of nice especially if you're doing like form input just to see how it renders nice little step up as well that's kind of cool you also have a dropdown for being able to say you know how much of the viewport you want to occupy for your actual device preview and we've got this little menu with a few extra options in here so one of the things that you might have tried out before is the show Media queries option super useful it basically like parses out the media queries in your page and you can just see what your page looks like at different um different media query breakpoints I already have some beef with this because if you try and use it as is after you selected a device it does nothing but if you go to the responsive mode and drop down and then click on it then it starts working what are you talking about Mt it's all perfect it's all perfect no it need an issue okay you file a bug on that y um other things that we include in here include um show device pixel ratio so you can switch up your device pixel ratio settings uh another thing that I usually have on is Network throttling so if you're building um to be resilient against like really flaky Network conditions or lifi or anything like that Network throttling can be useful to toggle on um usually you can have on like a good like 3G or 2G setting and that just means that when you're loading up your page um we're going to throttle that connection and and it'll show up it'll load up a little bit more slowly than normally would it's kind of nice just having that there because otherwise you bury it in the network thing it's way too easy to leave it on some random setting start looking at the elements fixing other problems um it's nice just having it constantly there in the responsive mode you can also like let's say you're building an app like a progressive web application and you've got service worker support you can also switch on offline um to try out your service work and just make sure it's working well offline it would be great if it was just like one button like disable internet yeah just it's just the airplane icon that's all you need done um folks uh were asking about ruler support so we got a show ruler option there wasn't there before it's now back um you can check that out if you like rulers some of the newer stuff that we've been playing with um are the ability to trigger ad to home screen so let's say you wanted to emulate your we application manifest experience you can click trigger add to home screen it'll bring up this message at the very top that says you know add this site to your shelf to use any time um you can click add and it'll bring up a little prompt that says okay what do you want to customize the name of this thing to and the idea behind this is that it's supposed to like just emulate that add a home screen experience you get on Android yeah and it was kind of annoying because before you'd have to do it on your phone you need something to download manifest file and normally the reason you'd want to do that is because if there's a problem in your manifest file and chrome wasn't happy it wouldn't pass it and it it's just tricky to debug so having this like hard way of just saying go and download it and pass it is insanely helpful when you just do it um as a reminder we also have another little panel um called sensors which lets you go and emulate different sensors so like you can emulate ducation coordinates device orientation um and you can decide whether or not you want to emulate touch based on your device or whether you want to do Force touch uh Force enabled um yeah that's about it for the responsive toolbar and the new device mode yeah [Music]

Original Description

Dive into DevTools Device Mode to discover the new responsive toolbar, changes to improve your mobile web debugging workflow and more. We also talk about the rain. So much rain. Watch more episodes of Totally Tooling Tips here: https://goo.gl/IoXka7 Subscribe to the Chrome Developers channel at http://goo.gl/LLLNvf
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Chrome for Developers · Chrome for Developers · 0 of 60

← Previous Next →
1 Polymer Performance Patterns (The Polymer Summit 2015)
Polymer Performance Patterns (The Polymer Summit 2015)
Chrome for Developers
2 Polymer Power Tools (The Polymer Summit 2015)
Polymer Power Tools (The Polymer Summit 2015)
Chrome for Developers
3 Chrome Dev Summit 2014 – Chrome Case Studies
Chrome Dev Summit 2014 – Chrome Case Studies
Chrome for Developers
4 Web Directions Code 2015 round up
Web Directions Code 2015 round up
Chrome for Developers
5 Maintainable Code - HTTP203
Maintainable Code - HTTP203
Chrome for Developers
6 iron-ajax… wat?! -- Polycasts #26
iron-ajax… wat?! -- Polycasts #26
Chrome for Developers
7 The Guardian - Supercharged
The Guardian - Supercharged
Chrome for Developers
8 ES2015 (next version of JavaScript), Totally Tooling Tips (S2 Ep1)
ES2015 (next version of JavaScript), Totally Tooling Tips (S2 Ep1)
Chrome for Developers
9 #AskPolymer: Rob answers all the questions ever -- Polycasts #27
#AskPolymer: Rob answers all the questions ever -- Polycasts #27
Chrome for Developers
10 The Future of JavaScript - HTTP203
The Future of JavaScript - HTTP203
Chrome for Developers
11 Data Binding 101 -- Polycasts #28
Data Binding 101 -- Polycasts #28
Chrome for Developers
12 The Guardian part 2 - Supercharged
The Guardian part 2 - Supercharged
Chrome for Developers
13 The Future of Web Audio: with Chris Wilson and Chris Lowis
The Future of Web Audio: with Chris Wilson and Chris Lowis
Chrome for Developers
14 Chrome 46: New motion-path animations, client hints and service worker improvements
Chrome 46: New motion-path animations, client hints and service worker improvements
Chrome for Developers
15 Sublime Snippets, Totally Tooling Tips (S2 Ep2)
Sublime Snippets, Totally Tooling Tips (S2 Ep2)
Chrome for Developers
16 #AskPolymer: How do you make the show? -- Polycasts #29
#AskPolymer: How do you make the show? -- Polycasts #29
Chrome for Developers
17 Critical Path CSS, Totally Tooling Tips (S2 Mini Tip #1)
Critical Path CSS, Totally Tooling Tips (S2 Mini Tip #1)
Chrome for Developers
18 Binding to Objects -- Polycasts #30
Binding to Objects -- Polycasts #30
Chrome for Developers
19 Player FM - Supercharged
Player FM - Supercharged
Chrome for Developers
20 Where’s the Designer? #AskPolymer -- Polycasts #31
Where’s the Designer? #AskPolymer -- Polycasts #31
Chrome for Developers
21 Jake Beats Wikipedia - HTTP203
Jake Beats Wikipedia - HTTP203
Chrome for Developers
22 Supercharged Observers! -- Polycasts #32
Supercharged Observers! -- Polycasts #32
Chrome for Developers
23 Jai's Web blog - Supercharged
Jai's Web blog - Supercharged
Chrome for Developers
24 Windows Command-line Tooling, Totally Tooling Tips (S2, Ep4)
Windows Command-line Tooling, Totally Tooling Tips (S2, Ep4)
Chrome for Developers
25 What about internationalization? #AskPolymer -- Polycasts #33
What about internationalization? #AskPolymer -- Polycasts #33
Chrome for Developers
26 Developing for Billions (Chrome Dev Summit 2015)
Developing for Billions (Chrome Dev Summit 2015)
Chrome for Developers
27 Google+ Performance Improvement Comparison
Google+ Performance Improvement Comparison
Chrome for Developers
28 Deploying HTTPS: The Green Lock and Beyond (Chrome Dev Summit 2015)
Deploying HTTPS: The Green Lock and Beyond (Chrome Dev Summit 2015)
Chrome for Developers
29 Progressive Web Apps (Chrome Dev Summit 2015)
Progressive Web Apps (Chrome Dev Summit 2015)
Chrome for Developers
30 Instant Loading with Service Workers (Chrome Dev Summit 2015)
Instant Loading with Service Workers (Chrome Dev Summit 2015)
Chrome for Developers
31 Increase Engagement with Web Push Notifications (Chrome Dev Summit 2015)
Increase Engagement with Web Push Notifications (Chrome Dev Summit 2015)
Chrome for Developers
32 Engaging with the Real World: Web Bluetooth and Physical Web (Chrome Dev Summit 2015)
Engaging with the Real World: Web Bluetooth and Physical Web (Chrome Dev Summit 2015)
Chrome for Developers
33 Asking for Permission: respectful, opinionated UI (Chrome Dev Summit 2015)
Asking for Permission: respectful, opinionated UI (Chrome Dev Summit 2015)
Chrome for Developers
34 Polymer - State of the Union (Chrome Dev Summit 2015)
Polymer - State of the Union (Chrome Dev Summit 2015)
Chrome for Developers
35 Building Progressive Web Apps with Polymer (Chrome Dev Summit 2015)
Building Progressive Web Apps with Polymer (Chrome Dev Summit 2015)
Chrome for Developers
36 Introduction to RAIL (Chrome Dev Summit 2015)
Introduction to RAIL (Chrome Dev Summit 2015)
Chrome for Developers
37 DevTools in 2015: Authoring to the max (Chrome Dev Summit 2015)
DevTools in 2015: Authoring to the max (Chrome Dev Summit 2015)
Chrome for Developers
38 RAIL in the real world (Chrome Dev Summit 2015)
RAIL in the real world (Chrome Dev Summit 2015)
Chrome for Developers
39 #ChromeDevSummit talks are up - W00T! -- Polycast #34
#ChromeDevSummit talks are up - W00T! -- Polycast #34
Chrome for Developers
40 V8 Performance from the Driver's Seat (Chrome Dev Summit 2015)
V8 Performance from the Driver's Seat (Chrome Dev Summit 2015)
Chrome for Developers
41 Quantify and improve real-world RAIL (Chrome Dev Summit 2015)
Quantify and improve real-world RAIL (Chrome Dev Summit 2015)
Chrome for Developers
42 Owning your performance: RAIL (Chrome Dev Summit 2015)
Owning your performance: RAIL (Chrome Dev Summit 2015)
Chrome for Developers
43 HTTP/2 101 (Chrome Dev Summit 2015)
HTTP/2 101 (Chrome Dev Summit 2015)
Chrome for Developers
44 Leadership Panel (Chrome Dev Summit 2015)
Leadership Panel (Chrome Dev Summit 2015)
Chrome for Developers
45 Build Processes, Totally Tooling Tips (S2, Ep 5)
Build Processes, Totally Tooling Tips (S2, Ep 5)
Chrome for Developers
46 Accessibility (Chrome Dev Summit 2015)
Accessibility (Chrome Dev Summit 2015)
Chrome for Developers
47 Binding to Arrays -- Polycasts #35
Binding to Arrays -- Polycasts #35
Chrome for Developers
48 HTTP2 - HTTP203
HTTP2 - HTTP203
Chrome for Developers
49 Chrome 47: Splash Screens, requestIdleCallback and better desktop notifications (New in Chrome)
Chrome 47: Splash Screens, requestIdleCallback and better desktop notifications (New in Chrome)
Chrome for Developers
50 Call For Submissions - Supercharged
Call For Submissions - Supercharged
Chrome for Developers
51 Cross Device Testing, Totally Tooling Tips (S2 Ep6)
Cross Device Testing, Totally Tooling Tips (S2 Ep6)
Chrome for Developers
52 Testing AJAX with Web Component Tester -- Polycasts #37
Testing AJAX with Web Component Tester -- Polycasts #37
Chrome for Developers
53 Slack: Extended Xmas Special - Supercharged
Slack: Extended Xmas Special - Supercharged
Chrome for Developers
54 Browser testing with Travis & Sauce Labs -- Polycasts #38
Browser testing with Travis & Sauce Labs -- Polycasts #38
Chrome for Developers
55 Optimize for production with Vulcanize -- Polycasts #39
Optimize for production with Vulcanize -- Polycasts #39
Chrome for Developers
56 Highlights from Chrome Dev Summit 2015
Highlights from Chrome Dev Summit 2015
Chrome for Developers
57 Chrome 48: Custom buttons in notifications, DevTools Security panel, and Presentation mode
Chrome 48: Custom buttons in notifications, DevTools Security panel, and Presentation mode
Chrome for Developers
58 Crisper: Protecting your Polymer app with CSP -- Polycasts #40
Crisper: Protecting your Polymer app with CSP -- Polycasts #40
Chrome for Developers
59 How do I use Sass with Polymer? #AskPolymer -- Polycasts #41
How do I use Sass with Polymer? #AskPolymer -- Polycasts #41
Chrome for Developers
60 Colors – DevTools Tonight #0 (Pilot)
Colors – DevTools Tonight #0 (Pilot)
Chrome for Developers

Related Reads

📰
Corvorum OS 1.0 - Sistema Operativo Tecnomántico
Learn about Corvorum OS 1.0, a technomantic operating system with local AI and Windows support, and how it can benefit developers
Dev.to · Technomantus Corvi
📰
Why Materials Scientists Are Still Copy-Pasting Data from PDFs in 2026 (And Why AI Changes…
Materials scientists still copy-paste data from PDFs, but AI can change this tedious task
Medium · AI
📰
How to Actually Cap AI Spend for Your Users: 3 Edge Cases Everyone Misses
Learn to effectively cap AI spend for users by addressing 3 often-missed edge cases, ensuring cost control and preventing unexpected expenses.
Dev.to · CJ Cummings
📰
Nano Banana 2 Lite with Kiro
Learn to set up and configure Google Nano Banana 2 Lite with Kiro for MCP, a crucial skill for developers and engineers working with cutting-edge technology
Dev.to · xbill
Up next
How to Build Trusted Knowledge Platforms in the AI Era | Charles (Zapnito)
AI InterConnect
Watch →