If you know that a function (s) is being called, you can use function breakpoints
debug(function); function(...args);
When you call a function, it hits the breakpoint. They are not saved when the page reloads, but you can set the breakpoint of the line as soon as you click the breakpoint of the function.
This may seem tedious.
If you have a feature set, you can do
[function0, function1].map(debug)
@Tibos the answer in another post would be nice if there was some kind of Babel transform to insert a debugger; at the beginning of each function, instead of inserting it manually.
dosentmatter
source share