debug_setup
Checks required Frida, LLDB, and debugserver components, then installs or repairs missing pieces with actionable instructions so iOS debugging can start.
Instructions
Check required Frida/LLDB/debugserver components and return actionable missing-component instructions. action=install installs absent device debugserver from the matching local Xcode iOS image or a workspace local_debugserver_path. action=repair reapplies an existing device-provided signing profile. Installation checks execution; verify actual attach separately with debug_inspect(backend=lldb).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | check | |
| bundle_id | Yes | ||
| device_id | Yes | ||
| local_debugserver_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| elapsed_ms | Yes | ||
| request_id | Yes |