Open rugk opened 6 years ago
The breakpoint not being hit when the code runs for the first time is a known weakness of the debug protocol. There are two workarounds:
debugger
statementAs for the reloading bug: I could reproduce it, but the behavior seems very sporadic and I'm not sure what the issue really is and if I can fix it. I'll keep trying though (when I find the time).
One observation: It seemed to happen less frequently when I added "sourceMaps": "client"
to the configuration. That seems weird, since you're not using sourcemaps, but it's not entirely impossible. On the other hand the sporadic behavior makes diagnosing and narrowing down this bug very difficult, so maybe this was just coincidence.
I am testing it out with Firefox Developer Editition for debugging my add-on.
So when I am in
about:add-ons
it often freezes Firefox. Also, it ignores my breajkpoint.STR:
Firefox log:
Firefox 62