/dev tips

(177) An improved Node.js debugging experience with NDB More realistic audits with Lighthouse (179)

Chrome DevTools: Easily pause on JavaScript code without manually setting breakpoints

31st August 2018
Easily pause on JavaScript code without manually setting breakpoints

You can easily pause current script execution with these keyboard shortcuts:

This means you can quickly dive into JavaScript code without any knowledge of how it is currently executing.

When you pause script execution, for example through using this shortcut, the page 'freezes' which allows you to easily inspect elements which would otherwise disappear.

Credit: twitter.com/pocketjoso/status/1022582753169158144

Sign up to receive a developer tip, in the form of a gif, in your inbox each week.