If you've been programming for even just a little bit, you've undoubtedly executed an infinite loop by mistake. Chrome 67, released in April 2018, added the ability to stop an infinite loop in DevTools. Here's how.

  1. Open DevTools.
  2. Open the Sources panel.
  3. Click Pause. The button changes to Resume Script Execution.
  4. Click and hold Resume Script Execution. Then choose Stop Current JavaScript Call.

Full credit for this tip goes to the Stop infinite loops section of What's New In DevTools (Chrome 67) on Google Developers, written by Kayce Basques. They also put up a video to help you.