There is a javascript description that you might debugger useful with debugger . Although this feature is poorly documented, it usually launches your browserβs built-in debugger. The only comment I really found in the statement is this .
Javascript as a language specification does not have a debug operator, however, all implementations implement a debugger instruction.
Although, I'm not sure why your breakpoints are not saved. I don't have Safari for testing, but Chrome (which is also based on Webkit) seems to save breakpoints correctly.
EDIT
I managed to find the documentation for the debugger statement , but this is not very descriptive:
Invokes any debugging functionality available. If debugging features are not available, this statement has no effect.
NT3RP source share