mattzeunert/javascript-breakpoint-collection

Improve trace messages

Closed this issue · 1 comments

Trace messages can now be generated dynamically with additional information, rather than being static.

debugLocalStorageReads

Change trace message from "Reading localStorage data" to "Reading localStorage data for key [keyName]".

debugLocalStorageWrites

Change trace message from "Writing localStorage data" to "Writing localStorage data for key [keyName]".

debugScroll

The trace message here should also say what caused the updated (scrollTo, scrollBy, scrollTop/scrollLeft assignment). It might also be useful to display the element whose scroll position is being updated.