Is it possible to make a javascript debugger as in Developer Tools where you can add breakpoint and view all variables values?
I think this can be done with proxy server which will insert code like dbg.breakpoint(); before lines where user clicked to add breakpoint.