◐ Shell
clean mode source ↗

add signal consumer breakpoints cdp by eduhmc · Pull Request #69384 · angular/angular

added 2 commits

June 16, 2026 21:33
Expose the underlying user function (fn) as debuggableFn for effect nodes in the signal debug graph. This allows debugging tools to locate and set breakpoints on effects.
Add a 'Set Breakpoint' button to the signal details panel. It uses the Chrome Console Utilities debug() and inspect() APIs to programmatically set breakpoints and navigate to the source code without requiring extra permissions for the prototype.
Use Chrome DevTools Protocol (CDP) in the background script to set actual breakpoints by URL. This allows breakpoints to persist across page reloads. The 'debugger' permission is registered as optional and requested on-demand when the user clicks the 'Set Breakpoint' button.