Open s1n7ax opened 5 months ago
Some kind of dependent breakpoint support is on the roadmap but I'm not sure yet how it should work like from a UI/interaction point of view.
Intellij has the feature as well, but the couple of times I could've used it I ended up manually setting the first breakpoint, wait until it is hit, and then set the other breakpoint. In part because the effort to set it up was similar and I'm not sure how it can be improved. A thought I had was to allow attaching arbitrary actions to a breakpoint - including macros. But that still doesn't make it much better than setting the second breakpoint manually after the first one was hit.
Problem Statement
VSCode added a new break point type called "Wait for Breakpoint" which basically only will be stopped if the debugger is stopped at selected break point first.
Steps:
test.js
file at line10
Triggered Breakpoint
intest.js
file at line20
When running, debugger will not stop at line 20 until line the debugger stops at the line 10 debug point.
Possible Solutions
No response
Considered Alternatives
No response