Snippets and live expressions #DevToolsTips

preview_player
Показать описание
Are you running the same code repeatedly during debugging? Learn how to use snippets and live expressions to speed them up!

Chapters:
0:00 Intro
0:13 Create a snippet.
0:35 3 ways to run a snippet in the Snippets pane
0:56 Run a snippet anywhere in DevTools
1:49 Web Performance snippets
2:01 2 ways to pass in parameters to a snippet
2:58 Using console utilities in snippets
3:17 Live expressions

Resources:

Questions? Tweet to us:

#DevToolsTips
Рекомендации по теме
Комментарии
Автор

Code snippets - just what I needed in Chrome.
Thank you for the informative and concise presentation!

informatik
Автор

Wow. Great timing for me. I love the style and humor in these values.

JoshWootonn
Автор

I didn't know about console utilities until now. thanks

tririfandani
Автор

Cool feature and very well explained, thanks !

thibautizard
Автор

Hi, can you make a video to show how I block the use of shared storage in Chrome? I dont see why this would be a good thing at all (for end users),

AndrewTSq
Автор

I got in Console --- LCP:1 undefined in a test snippet. What is the problem ? I have last version 116 Chrome for Windows.

BlackStar
Автор

there is no intention to offend anyone, but to refer to someone who prefer to do thing efficiently as lazy people is a misnomer, and in turn would discourage "lazy people" to invent efficient tools like washing machine

mic-jx