pyocd_session_disconnect
End an active debug session and release the probe. Optionally resume the target before closing or leave it halted for later reconnection.
Instructions
Close the current debug session and release the probe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resume_on_disconnect | No | If True (default), clear all breakpoints/watchpoints and resume the target before closing. Set False to leave target halted (e.g., for later reconnection). AI MUST consider: will the user need the MCU running after this session ends? |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |