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