Quoting the original idea:
I came across a problem where I need to share all my debugger breakpoints to my colleague to debug the issue at his end. So thought of implementing something like export the debugger points from one system and import at other system.
Since devtools doesn't provide a built-in import/export feature, is there another way?
open devtools and switch its Dock side in the menu to a detached (floating) window

in the now detached devtools press CtrlShifti or ⌘Shifti on MacOS,
which will open devtools-on-devtools in a new window
UI method:
Application tab, expand Local Storage, then devtools://devtools on the leftbreakpoints value on the right and copypaste it
Console method (especially useful if the value is too long):
copy(localStorage.breakpoints) in devtools-on-devtools console on the source computer to copy the value to clipboardlocalStorage.breakpoints=prompt() on the target computerConsole method to export everything:
copy(JSON.stringify(localStorage)) in devtools-on-devtools console on the source computer to copy the value to clipboardObject.assign(localStorage, JSON.parse(prompt())) on the target computerP.S. Next time you can quickly toggle the detached state of devtools by pressing CtrlShiftD
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With