Thus in your browser you see the code you write, you put in breakpoints as desired, and everything generally works.
I don't have much depth as to how it all works behind the scenes though, I'd love to know more.