title: How to debug embedded JavaScript in Safari
body: <p>EDIT: Updated title to change 'inline' to 'embedded' to better reflect the nature of the question, per @dmi3y's suggestion.</p>
  
  <p>In Chrome I commonly debug JS by setting breakpoints in my JS files, but Chrome also allows you to do this with the actual Document in the case that there's inline JS (i.e. JS that isn't in a separate .js file, but rather is in a <code>&lt;script&gt;</code> tag). I can't, for the life of me, find the same functionality in Safari. Does it exist, or am I out of luck? </p>
  
  <p>Apologies if this question has already been asked...I checked the search and only found this (somewhat, but not really) related question: <a href="https://stackoverflow.com/questions/4840117/how-to-debug-lazily-loaded-javascripts-in-safari-debugger">How to debug lazily-loaded javascripts in Safari debugger</a></p>