mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
When a user cancels Chrome's debugging infobar while a signal breakpoint is active, `chrome.debugger.onDetach` clears the active breakpoints map in the background service worker. Previously, the DevTools panel UI was not notified of this event, leaving the breakpoint icon displayed as active, and subsequently clicking to disable it threw an error because the entry was already absent from `activeBreakpoints`. This change: 1. Broadcasts a `signalBreakpointsCleared` message from `BreakpointManager` when `chrome.debugger.onDetach` fires so `SignalGraphPaneComponent` immediately clears its active breakpoints state. 2. Makes `BreakpointManager.removeBreakpoint` return early as a no-op if the breakpoint or tab entry is already absent. Fixes #70949
Angular DevTools UI
This module exports the Angular DevTools component. We render the DevToolsComponent within an Angular application running in Chrome or Firefox DevTools. This module of the application communicates with the Angular DevTools "backend".