AHK_Debug_Agent
Start a TCP listener for AutoHotkey debugging, optionally proxy to debug adapters, and capture debug traffic for analysis.
Instructions
Ahk debug agent Starts a TCP listener for AutoHotkey /Debug and optionally proxies to a real debug adapter while capturing traffic.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Control action: start, stop, status, get_events, or scan (multi-port detection) | status |
| listenHost | No | Host to listen on for /Debug connections | 127.0.0.1 |
| listenPort | No | Port to listen on for /Debug connections (single-port mode) | |
| listenPorts | No | List of ports to listen on simultaneously (multi-port mode) | |
| portRange | No | Range of ports to listen on (inclusive) when using multi-port or scan modes | |
| scanTimeoutMs | No | Timeout in milliseconds to wait for first connection in scan mode | |
| forwardHost | No | Optional upstream debug adapter host to forward to (proxy mode) | |
| forwardPort | No | Optional upstream debug adapter port to forward to (proxy mode) | |
| maxEvents | No | Max number of traffic events to keep in memory | |
| eventLimit | No | Number of recent events to return when mode=get_events |