Attaching Debugger LLDB (MacOS)

I’m working on plugin for Fmod Studio and I’d like to be able to attach a debugger. I’m working on MacOS with LLDB and when I try to attach to the process I get the error:

Error 1
Debugger detached

I have herd rumours that it’s possible on Windows.

Anyone have any experience with this? Any suggestions on how to get this to work?