removes all current breakpoints (so that they don't get hit when resuming)
resumes the isolate (in case it was paused when the hot restart was triggered)
However, this means that the debugging client (e.g. DevTools) is notified that the breakpoints have been removed before the hot-restart happens. Therefore, it cannot re-establish the breakpoints because it believes they don't exist.
This PR makes sure that when we remove the breakpoints for a hot-restart, we do not notify the client of their removal.
Before triggering a hot-restart, DWDS:
However, this means that the debugging client (e.g. DevTools) is notified that the breakpoints have been removed before the hot-restart happens. Therefore, it cannot re-establish the breakpoints because it believes they don't exist.
This PR makes sure that when we remove the breakpoints for a hot-restart, we do not notify the client of their removal.