title: lldb attaching to a process on OS X from an ssh session
body: <p>How can I lldb attach to a running process when I ssh into OS X? I can't debug this particular app from a terminal window because changing windows will change some UI state that I'm trying to debug.</p>
  
  <p>When I attach lldb from an ssh session it says "attach failed: lost connection".</p>
  
  <p>EDIT: It's not ssh that is disconnecting. I'm not being disconnected from ssh, it's just that lldb won't attach while I'm in an ssh session.</p>