Skip to content

Not pausing on IDE breakpoints? #3571

Closed Answered by vinistock
gvescu asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the question. If the extension has managed to connect to the debugger, then this is probably an issue in ruby/debug itself. The Ruby LSP only includes a client to connect to the debugger, it does not implement the DAP server, that's all in the ruby/debug gem.

One known bug that I'm aware of is ruby/debug doesn't support multiple processes, which has similar symptoms as the ones you're describing (not hitting breakpoints). So if you have your web server configured to use multiple workers, that's likely the issue. If that's not it, please ask ruby/debug.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gvescu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants