This about encapsulates a braindump of my initial idea.

That is, collection data from errors, logs & network traffic (currently done via jquery .ajaxXXXXX event handlers), and then bundle that data so that it can be sent somewhere for debugging.