attach_to_process
Attach to a running process by session ID to enable step-through debugging with breakpoints, variable inspection, and stack traces.
Instructions
Attach to a running process for debugging
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Debug session ID | |
| port | No | Debug port to attach to | |
| host | No | Host to attach to (default: localhost) | |
| processId | No | Process ID (for local attach, language-specific) | |
| timeout | No | Connection timeout in milliseconds (default: 30000) | |
| sourcePaths | No | Source paths for code mapping | |
| stopOnEntry | No | Stop on entry after attaching | |
| justMyCode | No | Only debug user code (skip library code) |