How to set breakpoints in inline Javascript in Google Chrome?

When I open Developer Tools in Google Chrome, I see all kinds of features like Profiles, Timelines, and Audits, but basic functionality like being able to set breakpoints both in js files and within html and javascript code is missing! I tried to use the javascript console, which itself is buggy – for example, once it encounters a JS error, I cannot get out of it unless I refresh the whole page. Can someone help?

13 Answers
13

Leave a Comment