attach_pid
Attach to a running process by host PID to enable dynamic instrumentation and analysis.
Instructions
Attach to a running process by host PID.
Args: session: session id pid: host PID of the target device_id: optional device id; empty means first available
Returns::
{
"status": "OK",
"session_id": "...",
"pid": N,
"device_id": "...",
"kind": "attach"
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | ||
| pid | Yes | ||
| device_id | No |