# Starting Ruby debugger on mac in SketchUp Make 2017

**URL:** <https://forums.sketchup.com/t/starting-ruby-debugger-on-mac-in-sketchup-make-2017/50638>\
**Category:** Ruby API\
**Tags:** ruby, api, debugging, technical\_error\
**Created:** [August 26, 2017, 10:11pm UTC](https://forums.sketchup.com/t/starting-ruby-debugger-on-mac-in-sketchup-make-2017/50638 "2017-08-26T22:11:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![accy](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@accy](https://forums.sketchup.com/u/accy)\
**Post date:** [August 26, 2017, 10:11pm UTC](https://forums.sketchup.com/t/starting-ruby-debugger-on-mac-in-sketchup-make-2017/50638/1 "2017-08-26T22:11:10Z")

</div>

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:

> **[GitHub - SketchUp/sketchup-ruby-debugger: Ruby API debugger for SketchUp 2014...](https://github.com/SketchUp/sketchup-ruby-debugger)**
>
> Ruby API debugger for SketchUp 2014 and later. Contribute to SketchUp/sketchup-ruby-debugger development by creating an account on GitHub.

> **[RubyMine Debugger Setup · SketchUp/sketchup-ruby-api-tutorials Wiki](https://github.com/SketchUp/sketchup-ruby-api-tutorials/wiki/RubyMine-Debugger-Setup)**
>
> SketchUp Ruby API Tutorials and Examples. Contribute to SketchUp/sketchup-ruby-api-tutorials development by creating an account on GitHub.

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.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sketchup/original/3X/f/2/f2a121500b085ed60806607a82720b092d800bb3.png) [@system](https://forums.sketchup.com/u/system)\
**Post date:** [November 26, 2017, 2:11pm UTC](https://forums.sketchup.com/t/starting-ruby-debugger-on-mac-in-sketchup-make-2017/50638/2 "2017-11-26T14:11:25Z")

</div>

Closed on November 26, 2017, 2:11pm UTC

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.
