Which terminal coding agents have a debugger
This page compares terminal coding agents on one question: whether the agent itself can drive a debugger to set breakpoints, step through execution, and inspect live stack frames and variables. Each row below was checked against the project's own documentation or source repository on 28 November 2026.
Three verdicts are used:
built in: the tool ships a debugger tool that the model can call directly.through an add-on: the tool's documentation does not describe a built-in debugger as of 28 November 2026, and it supports connecting external tools over Model Context Protocol (MCP) or an extension, such as the third-party@debugmcp/mcp-debuggerMCP server (not part of the tool).not documented: the tool's public documentation does not describe a way for the agent to drive a debugger as of 28 November 2026, or its built-in tool list is not published online.
Comparison table
Tools are listed in alphabetical order.
| Tool | Verdict | How | Source |
|---|---|---|---|
| Aider | not documented | Its commands reference lists commands for editing, linting, tests, and shell commands, and does not describe a debugger tool as of 28 November 2026. Its latest GitHub release is v0.86.0 (9 August 2025), its latest PyPI package is 0.86.2 (12 February 2026), and the latest commit on main is dated 22 May 2026. |
Aider commands, releases, commits, and PyPI history, checked 28 November 2026 |
| Amp | not documented | Public documentation refers to amp tools list instead of listing built-in tools and does not describe a built-in debugger as of 28 November 2026. External MCP servers (such as @debugmcp/mcp-debugger, not part of Amp) can be added with amp mcp add. |
Amp tools and Amp MCP, checked 28 November 2026 |
| Claude Code | through an add-on | Documentation lists built-in file, shell, and LSP tools and does not describe a built-in debugger as of 28 November 2026. External MCP servers such as @debugmcp/mcp-debugger (not part of Claude Code) can be connected over MCP. |
Claude Code tools, checked 28 November 2026 |
| Cline CLI | through an add-on | Documentation lists nine ClineCore built-in tools and does not describe a built-in debugger as of 28 November 2026. External tools can be added through plugins or MCP servers such as @debugmcp/mcp-debugger (not part of Cline CLI). |
Cline tools, checked 28 November 2026 |
| Crush | through an add-on | Source tool registration lists file, shell, and LSP tools and does not describe a built-in debugger as of 28 November 2026. Its README describes connecting external MCP servers, such as @debugmcp/mcp-debugger (not part of Crush), over stdio, http, or sse. |
Crush coordinator.go and Crush README, checked 28 November 2026 |
| Cursor CLI | through an add-on | Documentation describes tools for file operations, search, shell commands, and web access, and lists Agent, Plan, and Ask modes for the CLI. Cursor's Debug Mode page describes the agent adding log statements that send data to a local debug server in a Cursor extension, then reading the collected logs. Neither page describes a tool for breakpoints or stepping as of 28 November 2026. External MCP servers such as @debugmcp/mcp-debugger (not part of Cursor CLI) can be connected over MCP. |
Cursor CLI using and Debug Mode, checked 28 November 2026 |
| Droid (Factory) | through an add-on | Documentation lists read-only, edit (Create, Edit, ApplyPatch), execute, and web tools and does not describe a built-in debugger as of 28 November 2026. External MCP servers such as @debugmcp/mcp-debugger (not part of Droid) can be connected with droid mcp add. |
Droid custom droids and Droid MCP, checked 28 November 2026 |
| Gemini CLI | through an add-on | Since 18 June 2026 it no longer serves free individual, Google AI Pro, or Ultra accounts, which Google moved to Antigravity CLI; access through Gemini Code Assist Standard or Enterprise licences and paid API keys continues. Documentation lists built-in file, shell, web, and task tools and does not describe a built-in debugger as of 28 November 2026. External tools can be added through tools.discoveryCommand or MCP servers such as @debugmcp/mcp-debugger (not part of Gemini CLI). |
Gemini CLI tools and Google's transition notice, checked 28 November 2026 |
| Goose | through an add-on | Documentation lists built-in file, shell, and code-structure analysis extensions and does not describe a built-in debugger as of 28 November 2026. External MCP servers such as @debugmcp/mcp-debugger (not part of Goose) can be added as extensions. |
Goose extensions, checked 28 November 2026 |
| Mercury CLI | built in | Built-in Debug tool speaking the Debug Adapter Protocol (DAP): launch or attach, breakpoints, stepping, stacks, scopes, variables, and expression evaluation, plus Test debug to launch failing tests into DAP. |
Debugger and tests, checked 28 November 2026 |
| Oh My Pi | built in | Built-in debugger support, on by default, speaking the Debug Adapter Protocol (DAP): launch or attach, breakpoints, stepping, threads, stack frames, scopes, variables, and expression evaluation. | Oh My Pi debugging, checked 28 November 2026 |
| OpenAI Codex CLI | through an add-on | Source handler exports and documentation do not describe a built-in debugger as of 28 November 2026. External MCP servers such as @debugmcp/mcp-debugger (not part of Codex CLI) can be connected through config.toml or codex mcp add. |
Codex handlers/mod.rs and Codex MCP, checked 28 November 2026 |
| opencode | through an add-on | Documentation lists built-in file, shell, web, and browser tools and does not describe a built-in debugger as of 28 November 2026. External MCP servers such as @debugmcp/mcp-debugger (not part of opencode) can be connected over MCP. |
opencode tools, checked 28 November 2026 |
| pi | through an add-on | Documentation lists eight built-in file and shell tools and does not describe a built-in debugger as of 28 November 2026. External packages and MCP servers such as @debugmcp/mcp-debugger (not part of pi) can be added with pi install or pi mcp add. |
pi CLI docs, checked 28 November 2026 |
| Qwen Code | through an add-on | Source tool registry lists file, shell, LSP, and workflow tools and does not describe a built-in debugger as of 28 November 2026. External MCP servers such as @debugmcp/mcp-debugger (not part of Qwen Code) can be added with qwen mcp add. |
Qwen Code tool-names.ts and Qwen Code MCP, checked 28 November 2026 |
Mercury CLI's debugger
Mercury CLI bundles debugpy (for Python) and js-debug (for JavaScript and TypeScript) in its release archives, and detects dlv, lldb-dap, and gdb 14+ when present on PATH. See Debugger and tests for the full adapter list, operations, and test-debugging details.
Corrections
If a row is wrong or out of date, a maintainer can open an issue on the repository.