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
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2.2k
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1k
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
640
dchart: charts from deck markup
ajstarks
3
990
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
5
390
CSC307 Lecture 05
javiergs
PRO
0
500
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6k
組織で育むオブザーバビリティ
ryota_hnk
0
170
Featured
See All Featured
Amusing Abliteration
ianozsvald
0
97
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
130
Mobile First: as difficult as doing things right
swwweet
225
10k
Designing for humans not robots
tammielis
254
26k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
92
The Mindset for Success: Future Career Progression
greggifford
PRO
0
230
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
410
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Prompt Engineering for Job Search
mfonobong
0
160
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