Attach to a running Node process
attachConnect to a Node.js process already running with --inspect or --inspect-brk to debug it over the V8 Inspector protocol. Detaching leaves the process running.
Instructions
Attach to a process already started with node --inspect or --inspect-brk (default 127.0.0.1:9229). Does not take ownership of the process; disconnect detaches and lets it keep running. Breakpoint paths are resolved against the server's cwd unless they're absolute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | 127.0.0.1 | |
| port | No | ||
| ws_url | No | Explicit ws:// debugger URL, if discovery via /json/list isn't possible. |