Debugging binary on Android

Hi all,

I’ve been having trouble getting LLDB to launch an executable that is within the private data directory of an app on Android (i.e. under /data/data/com.myapp). Due to OS security restrictions it needs to be run as the application’s user ID and can only launched like this:

run-as com.myapp myexecutable arg1 arg2

How can I get LLDB to launch it?