Serialize breakpoints when changing the state of a breakpoint (#27373)

This fixes a rare bug where a breakpoint isn't saved in the database
when a user toggles a breakpoint and immediately exits out of zed.

Release Notes:

- N/A

Co-authored-by: Piotr Osiewicz <peterosiewicz@gmail.com>
350c1e41d2Anthony Eid committed on 3/24/2025, 4:25:17 PM· committed by GitHubparenta23e293
1 file changedLine totals unavailable