attach_to_process
Attach a debugger to a running process by providing session ID and port. Supports local and remote debugging with options for source paths, stop-on-entry, and just-my-code filtering.
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) |