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.
- Open DevTools.
- Open the Sources panel.
- Click Pause. The button changes to Resume Script Execution.
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.