Won't this leave lots of debugger calls in your script when you're done debugging it? If I were doing this, I would try to write a source filter for it, so that the break statements can be comments that are only turned into actual breaks if the source filter is used.