Remote Debugging on Linux

Hi All

I am new to LLDB. I want to remotely debug some applications. Both the host and target OS is Linux.

I went through few discussions in this list regarding remote debugging but I am still unclear about how to do it.
I could figure out from the discussions that there are 2 ways to do remote debugging: lldb-platform and lldb-gdbserver

I don’t know which one of them is fully functional for Linux. I would highly appreciate some comments here.