Greetings,
I have a problem making SketchUp 2017 to use debugger library. I downloaded the library directly to the app package:
curl https://github.com/SketchUp/sketchup-ruby-debugger/releases/download/1.1.0.0/SURubyDebugger.dylib -o /Applications/SketchUp\ 2017/SketchUp.app/Contents/Frameworks/SURubyDebugger.dylib
Just in case I even changed permissions to it:
chmod 755 /Applications/SketchUp\ 2017/SketchUp.app/Contents/Frameworks/SURubyDebugger.dylib
The library clearly exists in the required folder:
ls -la /Applications/SketchUp\ 2017/SketchUp.app/Contents/Frameworks/
total 140208
drwxr-xr-x 51 userx admin 1734 Aug 26 18:52 .
drwxr-xr-x 10 userx admin 340 Feb 9 2017 ..
drwxr-xr-x 5 userx admin 170 Feb 9 2017 ALAppKit.framework
drwxr-xr-x 5 userx admin 170 Feb 9 2017 BugSplat.framework
drwxr-xr-x 5 userx admin 170 Feb 9 2017 Chromium Embedded Framework.framework
drwxr-xr-x 6 userx admin 204 Feb 9 2017 LayOutAPI.framework
-r-xr-xr-x 1 userx admin 273200 Feb 9 2017 ModelerGeometry.tx
-r-xr-xr-x 1 userx admin 72832 Feb 9 2017 RasterProcessor.tx
-r-xr-xr-x 1 userx admin 639152 Feb 9 2017 RecomputeDimBlock.tx
drwxr-xr-x 5 userx admin 170 Feb 9 2017 Ruby.framework
drwxr-xr-x 5 userx admin 170 Feb 9 2017 RubyDialog.framework
-rwxr-xr-x 1 userx admin 610 Aug 26 18:52 SURubyDebugger.dylib
drwxr-xr-x 3 userx admin 102 Feb 9 2017 SketchUp Helper EH.app
drwxr-xr-x 3 userx admin 102 Feb 9 2017 SketchUp Helper NP.app
drwxr-xr-x 3 userx admin 102 Feb 9 2017 SketchUp Helper.app
[...]
I launch SketchUp as instructed by the Readme for the debugger library:
open -a /Applications/SketchUp\ 2017/SketchUp.app --args -rdebug "ide port=7000"
Still the debugger doesn’t seem to start:
telnet localhost 7000
Trying ::1…
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1…
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
I think I studied key resources like these:
It looks like others just have the debugger started when using appropriate arguments when launching SketchUp. It just doesn’t seem to work on my machine.
Any help will be greatly appreciated.