Example repo:
Background:
A while back the Ruby community moved to a new debugger and the VSCode extension that supported out old protocol stopped being mantained. We’d struggled to make the new debugger work in SketchUp initially, so people kept having to install the old VSCode extensions to make debugging against SketchUp Ruby work. (VSCode Ruby extension no longer mantained - #16 by Josef)
We finally made progress and found a way to make VSCode connect to SketchUp 2024+ Ruby. Config and setup is now in our VSCode SketchUp Ruby extension example project:
- Launch SketchUp via the Task configured.
- Attach the debugger.
- Set breakpoints in the UI.
- Happy debugging!