Attach lldb to a running process with a given PID

lldb

lldb -p {{pid}}

click the source code to copy install lldb on any operating system with command-not-found.com