I’ve asked the mantainers of the new extension if this protocol was on their road map, but unfortunately it’s not.
This unfortunately makes it hard to setup VSCode to debug against Ruby in SketchUp. I’m not even sure if there’s a way to install the deprecated VSCode extension any more.
We currently don’t have capacity to look much deeper into this right now. So if the community has any solutions that would make VSCode work with rdebug-ide, please let us know.
I’m trying to figure out the best alternative. RubyMine is a paid subscription, and Aptana doesn’t seem to be maintained anymore. NetBeans maybe? Has anyone set up a new debugging configuration successfully yet on any platform?
I have tried a couple Ruby debug extensions in VSCode and couldn’t get them to work. They would just spin forever waiting to connect to SketchUp. My suspicion is that they want to connect to a running instance of Ruby itself and don’t understand what SketchUp is doing. But I admit that I really don’t understand how they are supposed to be configured nor their relation to the ide protocol. Someone with deeper insight might be able to make them work.
I tried this yesterday. I was able to load the older Ruby extension easily, but the debugger isn’t attaching. Maybe some dependency is now missing or something? Has anyone gotten this to work, by reverting to the older extension after VSC had automatically updated to Ruby LSP?
Thanks. For now the problem is not that Ruby LSP is getting auto-restored. It’s that after restoring the previous Ruby extension, I’m finding the debugger doesn’t attach (even though I can launch SketchUp with the rdebug args from my previous configuration). But thank you. I’ll figure it out.
With the discontinuation of the extension “rebornix.ruby” in favor of “shopify.ruby-extensions-pack”
, debugging extensions via “rdebug” is no longer possible.
I researched some vscode extensions aimed at ruby debugging and they caused instability in the “shopify.ruby-extensions-pack” extension.
Thomas Thomassen, was raised question about its stability and I can say that it works great, but it uses DAP to perform debugging.
From what I’ve read in other messages, the maintainers of “shopify.ruby-extensions-pack” will not support other protocols.
Based on this, I started developing the aclab-su-rdebug extension which aims to fill this gap and focusing on the SU.
The base structure is ready, but not yet functional. This week I’m going to work on a “DAP tunnel” for “rdebug”.
Do you know if there are other more mature initiatives that I could perhaps use my efforts in?
If not, I will continue with development and collaborations (development, documentation, comments, tips, anything) are welcome.
Open a ticket at https://github.com/brodao2/aclab-su-rdebug/issues, please.
Thank you for your time and consideration.
Yours faithfully,