add signal consumer breakpoints cdp#69384
Draft
eduhmc wants to merge 3 commits into
Draft
Conversation
eduhmc
commented
Jun 16, 2026
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
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.
326c9bb to
d25dc0b
Compare
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.
d25dc0b to
5f835bf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.