First, go to IDA dbgsrv this directory and find the available clients for the remote computer that you want to debug.
For example, Android_server,
Copy it to the target computer,
such as ADB push ....
And then if it's a special system, give it a execute permission,
Like the ADB shell, chmod 777 ...
Then run it, it will listen to a port, 23946,
Using some method, so that this port can be accessed by our computer,
such as ADB forward tcp:23946 tcp:23946
Then, you can open Ida, connect to this port, then attach the process, the next breakpoint, tune its so library,
If you want to tune the bin, then only need to use IDA to create the process, the path to fill the target machine path, directory, parameters are also,
And then you can play.
(Debug Android, if Android version is too high, pirated IDA, easy to cause the debugging process to crash)
IDA Remote Debugging settings