#Remote Debugging iOS Apps with LLDB
Install Xcode.app
# copy debug server to device
scp 7.0/debugserver root@rPad.local:~/
# connect to device
ssh root@rPad.local
# get a list of installed apps
~/debugserver --applist
# start the debugserver (on port 1234)
~/debugserver *:1234 /var/mobile/Applications/*/*.app/Twitter
lldb
platform select remote-ios
process connect connect://rPad.local:1234
https://github.com/llvm-mirror/lldb/tree/master/tools/debugserver
# mount the developer diskimage
hdiutil attach /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.0/DeveloperDiskImage.dmg
# overwrite debugserver entitlements
cp /Volumes/DeveloperDiskImage/usr/bin/debugserver ./7.0/
codesign -s - --entitlements entitlements.plist -f 7.0/debugserver