Debugging SDL with the rsdl binary

Hello all,

On OSX (not sure about other platforms), to use Ruby/SDL, code needs to
be
executed by the executable rsdl (a C wrapper of ~10 lines, I read) and
not
by the ruby executable.

That means no dropping into a debugger for me.

Is there any solution to this? I’m developing something quite big and
having
to print-debug everything is getting on my nerves and productivity
already.

Aur S.