Friday, August 31, 2018

Dev Tips: DevTools: Easily pause on JavaScript code without manually setting breakpoints

Dev Tips

 

DevTools: Easily pause on JavaScript code without manually setting breakpoints

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

  • Mac: F8 or Command + \
  • Windows: F8 or Control + \

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


If you have any troubles viewing this animated gif, check out: umaar.com/dev-tips/178-quick-pause-script-execution
SmashingConf 2018
Tweet
Email Marketing Powered by MailChimp

Copyright © 2018 Umar, All rights reserved.
*IFNOT:ARCHIVE_PAGE|* You are receiving this email because you signed up for Dev Tips.

unsubscribe from this list    update subscription preferences 

No comments:

Post a Comment