---
description: Show standalone install instructions for the rdbg-debugger plugin, including how to download rdbg itself.
---

Print the following to the user. (Refer to the plugin's
`README.md` if the user wants more detail.)

---

# Installing the rdbg-debugger plugin

**Step 1 — Download rdbg 0.2 or later.** The plugin needs
`rdbg-mcp.exe`, which ships in the rdbg release zip. Earlier
releases (0.1.x) don't have it.

```
https://sundaymorning.app/rdbg/assets/dl/rdbg-source-latest.zip
```

Unzip to a no-spaces path, e.g. `C:\rdbg\`. You should end up
with both daemons (`rdbgd64.exe` for Win64 targets, `rdbgd32.exe`
for Win32 targets), the CLI client `rdbgc.exe`, and the MCP
bridge `rdbg-mcp.exe` — all under `C:\rdbg\bin\`.

**Step 2 — Add the marketplace and install the plugin.** Two
slash commands inside Claude Code:

```
/plugin marketplace add https://sundaymorning.app/rdbg/.claude-plugin/marketplace.json
/plugin install rdbg-debugger@rdbg
```

Claude Code clones the plugin from a static-file git mirror at
`https://sundaymorning.app/rdbg/rdbg-plugin.git` (no GitHub
account, no auth) and prompts for configuration on first enable. Defaults
assume `C:\rdbg\bin\` for `rdbg-mcp.exe`, `rdbgd64.exe`, and
`rdbgd32.exe`. If you unzipped elsewhere, override
`rdbg_mcp_path`, `daemon_path_x64`, and `daemon_path_x86`. If you
only debug one bitness, leaving the unused `daemon_path_*` blank
just means the bridge surfaces a clear error if a launch ever
needs the missing daemon.

**Step 3 — Confirm.** Run `/rdbg:status`. You should see daemon
version + protocol info. If not, the most common issues are:

- Wrong `rdbg_mcp_path` → fix in plugin config.
- Daemon already busy with another client → close
  `rdbgui.exe` or any `rdbgc repl` session.
- Claude Code launched from Session 0 (e.g. via service or
  non-interactive SSH) → relaunch Claude from your RDP desktop.

**Prerequisites recap:**

- Windows 10+ x64 host (debugs both Win32 and Win64 targets).
- Claude Code installed.
- Claude Code launched from inside your interactive RDP desktop
  (Session 2+).
- rdbg 0.6+ unzipped to a no-spaces path. (0.2+ for the plugin
  alone, but 0.6+ ships the dual-bitness daemon pair.)

That's it. SSH-to-remote-Windows debugging is on the v2
roadmap; v1 is local-only.
