Skip to content

add signal consumer breakpoints cdp#69384

Draft
eduhmc wants to merge 3 commits into
angular:mainfrom
eduhmc:add-signal-consumer-breakpoints-cdp
Draft

add signal consumer breakpoints cdp#69384
eduhmc wants to merge 3 commits into
angular:mainfrom
eduhmc:add-signal-consumer-breakpoints-cdp

Conversation

@eduhmc

@eduhmc eduhmc commented Jun 16, 2026

Copy link
Copy Markdown
Contributor
  • feat(core): expose debuggableFn for effects in signal debug graph
  • feat(devtools): add prototype for setting signal breakpoints
  • feat(devtools): implement persistent breakpoints using CDP

eduhmc 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.
@angular-robot angular-robot Bot added detected: feature PR contains a feature commit area: core Issues related to the framework runtime area: devtools labels Jun 16, 2026
@ngbot ngbot Bot added this to the Backlog milestone Jun 16, 2026
@eduhmc eduhmc force-pushed the add-signal-consumer-breakpoints-cdp branch from 326c9bb to d25dc0b Compare June 16, 2026 22:29
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.
@eduhmc eduhmc force-pushed the add-signal-consumer-breakpoints-cdp branch from d25dc0b to 5f835bf Compare June 16, 2026 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Issues related to the framework runtime area: devtools detected: feature PR contains a feature commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant