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
9
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
DevTools 🪄 #2024
Yoriiis
December 10, 2024
More Decks by Yoriiis
See All by Yoriiis
Performances
yoriiis
0
5
Other Decks in Programming
See All in Programming
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
230
AWS DevOps AgentのAzure接続機能を検証して見えた活用法/Use Cases Verified for the AWS DevOps Agent's Azure Connectivity Feature
masakiokuda
1
270
tsc.rip を支える技術 / Kyoto.なんか #8
susisu
0
280
Pythonの実行はどこまで賢くなったのか? CPythonとPyPyから見る最適化のしくみ
curekoshimizu
3
1.9k
使いながら育てる Claude Code — 開発フローの1コマンド化 × 繰り返し指摘の自動仕組み化
shiki_kakaku
1
2k
React本体のコードリーディング
high_g_engineer
1
160
Go 1.27からのGODEBUG / Go 1.27 リリースパーティ #go127party
mazrean
0
220
My Marp Sample
sinoue0108
0
120
VibeCodingからAgenticWorkflowへ
starfish719
0
870
生成AIで帳票OCRが「簡単に」作れる時代になった?
kon_shou
0
1.2k
Loosening the Reins: Go Generics Get More Flexible
kuro_kurorrr
0
330
まずはプロンプトガイドを読もう、話はそれからだ
kiakiraki
1
210
Featured
See All Featured
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
340
My Coaching Mixtape
mlcsv
0
280
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
800
GitHub's CSS Performance
jonrohan
1033
470k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
Building the Perfect Custom Keyboard
takai
2
850
Practical Orchestrator
shlominoach
191
12k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
The SEO identity crisis: Don't let AI make you average
varn
0
540
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
470
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
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