Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
DevTools 🪄 #2024
Search
Yoriiis
December 10, 2024
Programming
0
3
DevTools 🪄 #2024
Yoriiis
December 10, 2024
Tweet
Share
More Decks by Yoriiis
See All by Yoriiis
Performances
yoriiis
0
2
Other Decks in Programming
See All in Programming
今から始めるClaude Code超入門
448jp
8
8.7k
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
200
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.1k
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
110
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
100
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
730
CSC307 Lecture 01
javiergs
PRO
0
690
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
380
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
4
590
Data-Centric Kaggle
isax1015
2
770
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
GraphQLとの向き合い方2022年版
quramy
50
14k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.1k
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
The untapped power of vector embeddings
frankvandijk
1
1.6k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Bash Introduction
62gerente
615
210k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
96
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
410
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
Six Lessons from altMBA
skipperchong
29
4.1k
Transcript
DevTools 🪄 Prisma Media - 2024
Settings
Settings > Elements • Show user agent shadow DOM •
Show CSS documentation tooltip
Settings > Network • Disable cache while DevTools is open
Settings > Debugger • Disable JavaScript
Command
Command • Commande+Maj+P (Mac) • Run command, open file, snippet
• Capture screenshot • Block ads
Multi panel Appuyer sur Echap pour ouvrir un second panneau
Console tab
Console ⚡ • Live expression • Utilities (calc, $0, copy,
getEventListeners, monitorEvents) • Store as global variable • Preserve log
Elements tab
Elements ⚡ • Recherche de sélecteur (Commande+F), très pratique !
• DOM breakpoints • Force element state • Styles computed • Event listeners • Scroll into view
Device emulation ⚡ • Responsive vs device • Preset media
queries • Show media queries • Pixel ratio (responsive only)
Source tab
Source ⚡ • Breakpoints (debugger, breakpoint, logpoint) • Call stack
• Scope • Restart frame • Console panel • Workspace/overrides
Snippet ⚡ • Stocker des petits bouts de code •
Réutilisable et accessible • … A partager entre les équipes
Node debugger ⚡ • Debugger un script ou une application
Node.js • Prérequis ◦ Configuration VSCode ◦ Exécuter Node en mode inspection • Debug depuis VSCode (breakpoint, variable, console) • Debug depuis Chrome, chrome://inspect
Application tab
Application ⚡ • Manifest • Storage • Local storage/session storage
• Cookies
Performance tab
Performance ⚡ • New home (LCP, CLS, INP) • Comparer
les environnements • Enregistrement et analyse d’un rapport • Sidebar insights/annotations • Memory (ex Insights panel monitor)
Network tab
Network ⚡ • Preserve log • Network condition (cache, throttling,
user agent, encoding) • Filter (extension simple/multiple, text), stats updates • Initiator • Copy request as • Size (network vs resource size)
Tools
Tools > Network request blocking • Bloquer un domaine ou
une url • Désactiver par défaut et à chaque fermeture de la DevTools • Vs extension de blocage • Badge de status ⚠
Tools > Rendering • prefer-color-scheme • media type • prefer-reduced-motion
• …
Tools / Coverage • Code non utilisé sur la page
Tools > CSS overview • Couleurs • Fonts • Media
queries
CSS overview - Overview 1/2
CSS overview - Overview 2/2
Tools > AI assistant • Utilise Gemini (anciennement Bard) •
Gratuit • Attention à la confidentialité /!\ • Ex d’analyse : style, réseaux, sources, performance • Accès au script d’analyse • Conversationnel
AI Assistant - Optimisation de l’accessibilité
AI Assistant - Optimisation des sélecteurs CSS
Ressources • https://developer.chrome.com/blog • https://developer.chrome.com/docs • https://umaar.com/dev-tips • Commande “What’s
new” dans la DevTools • Chrome Canary pour les versions bêtas • https://nodejs.org/en/learn/getting-started/debugging