AttachToProcess
Attach x64dbg or x32dbg to an already-running process by PID or name, with optional debugger restart, stop-first, and timeout controls.
Instructions
Attach x64dbg/x32dbg to an already-running process.
Args: pid: Exact target PID. Preferred when known. exe_filter: Process name or image-path substring when pid is not provided. arch: Desired debugger architecture. Auto prefers the target process architecture. restart_debugger: When true, restart the debugger before attach. stop_first: When true, stop the current debug session before attaching. timeout_ms: Maximum time to wait for the attach to complete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| arch | No | auto | |
| exe_filter | No | ||
| stop_first | No | ||
| timeout_ms | No | ||
| restart_debugger | No |