Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialCaleb Kleveter
Treehouse Moderator 37,862 PointsI have an infinite loop in a tab I can't close.
I have a console.log statement that is running in a infinite loop and I can't close the tab, what do I do?
3 Answers
Greg Kaleka
39,021 PointsHey Caleb,
If you're using Chrome, Shift-Esc to bring up the Chrome task manager, and kill the task.
Edit: For future reference, on a mac, you can also access the Chrome task manager. Choose the Chrome hamburger menu -> tools (or "more tools" - not sure as I'm on a pc right now) -> task manager
Jeff Lemay
14,268 PointsCtrl+Shift+Esc and close the program
Caleb Kleveter
Treehouse Moderator 37,862 PointsI was on a Mac so I did Command-Opt-Esc, and force quieted Chrome.
Greg Kaleka
39,021 PointsYeah, that'll work, though it's not ideal. See my edit above.
bviengineer
16,484 Pointsbviengineer
16,484 PointsGreg Kaleka , thank you! shift+esc worked fine on windows!