From 6d85580c2b20babef5514a3832ce34a8ced4f270 Mon Sep 17 00:00:00 2001
From: ozzafar <48795672+ozzafar@users.noreply.github.com>
Date: Sun, 25 Oct 2026 15:32:02 +0200
Subject: [PATCH 1/3] Bump VS Code extension version to 2.4.4
Update the extension manifest and root lockfile version after merging the five issue fixes. Leave the standalone CLI version unchanged.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a882e001-7e0e-4256-8a20-8eaec9c947f4
---
package-lock.json | 4 ++--
package.json | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 29bb4d4..5a69dbd 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "debugmcpextension",
- "version": "2.4.3",
+ "version": "2.4.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "debugmcpextension",
- "version": "2.4.3",
+ "version": "2.4.4",
"license": "MIT",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.32.0",
diff --git a/package.json b/package.json
index a541cd8..eeccb6a 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "debugmcpextension",
"displayName": "DebugMCP — Agentic Debugging for VS Code, Cursor & More",
"description": "Your AI agent debugs for you — right inside VS Code, Cursor & other VS Code-based editors. Let Copilot, Cline, Cursor, Codex & any MCP agent set breakpoints, step through code, and inspect variables live instead of guessing from logs.",
- "version": "2.4.3",
+ "version": "2.4.4",
"publisher": "ozzafar",
"author": {
"name": "Oz Zafar",
From 0111bfccf8bf1082c8c7a08c3ff613e4cb8bb3b5 Mon Sep 17 00:00:00 2001
From: ozzafar <48795672+ozzafar@users.noreply.github.com>
Date: Sun, 25 Oct 2026 15:37:03 +0200
Subject: [PATCH 2/3] Document extension 2.4.4 changes in README
Refresh the version badge and release highlights, document debug status/output tools and opt-in capture limits, and explain unconfirmed restart results.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a882e001-7e0e-4256-8a20-8eaec9c947f4
---
README.md | 48 +++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 45 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index b0bda06..c5383a7 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ Let AI agents debug your code inside VS Code - set breakpoints, step through exe
[](https://code.visualstudio.com/)
-[](https://github.com/microsoft/DebugMCP)
+[](https://github.com/microsoft/DebugMCP)
[](https://marketplace.visualstudio.com/items?itemName=ozzafar.debugmcpextension)
@@ -34,6 +34,12 @@ Let AI agents debug your code inside VS Code - set breakpoints, step through exe
## ✨ What's New
+### 2.4.4
+- **Opt-in logpoint output retrieval** - `get_debug_output` reads captured debugger output by session, with prefix/category filters and incremental cursors. Capture is disabled by default; see [Debug output capture](#debug-output-capture).
+- **Consistent debug status** - function names and source locations now match the selected evaluation frame. Successful Continue/Step responses update execution state even when adapters omit a `continued` event, without discarding newer stops.
+- **Remote skill installation** - extension activation refreshes `debug-live` in the extension host's home, including fresh Dev Containers and remote hosts without existing agent configuration or onboarding.
+- **Restart without a missing-response wait** - when a fresh stop is observed but the adapter has not acknowledged the restart, `restart_debugging` returns an explicit **completion unconfirmed** result instead of waiting for the operation timeout. This does not claim that all restart commands succeeded; acknowledged success and reported failures retain their behavior.
+
### 2.4
- **Standalone DebugMCP CLI** — install [`debugmcp`](https://www.npmjs.com/package/debugmcp) from npm and give MCP-compatible agents direct access to explicitly configured DAP adapters without running VS Code. The CLI supports any language with a DAP adapter that communicates over stdio, configures supported agents, and installs the `debug-live` skill automatically.
@@ -81,7 +87,9 @@ DebugMCP is an MCP server that gives AI coding agents full control over the VS C
| **step_out** | Step out of the current function | None |
| **continue_execution** | Continue until next breakpoint | None |
| **pause_execution** | Interrupt a freely-running program and stop at its current location (no breakpoint needed) | None |
-| **restart_debugging** | Restart the current debug session | None |
+| **restart_debugging** | Restart the current debug session; a fresh stop without acknowledgement returns an explicit completion-unconfirmed result, not confirmed success | None |
+| **get_debug_status** | Read paused/running/no-session status, the active session ID, and selected-frame details when paused; optionally wait for a pause | `waitForPauseSeconds` (optional, 0-600; bounded by the operation timeout) |
+| **get_debug_output** | Read captured output for one session; requires user-enabled capture and at least one filter | `sessionId` (required)
`prefix` and/or `category` (required filter; both are ANDed)
`cursor` (optional)
`limit` (optional, 1-100) |
| **add_breakpoint** | Add a breakpoint at a specific line (optionally conditional) | `fileFullPath` (required)
`line` (required, 1-based)
`condition` (optional) |
| **add_logpoint** | Add a logpoint that logs a message (instead of pausing) when a line is reached | `fileFullPath` (required)
`line` (required, 1-based)
`logMessage` (required, `{expr}` interpolated)
`condition` (optional) |
| **remove_breakpoint** | Remove a breakpoint from a specific line | `fileFullPath` (required)
`line` (required) |
@@ -99,6 +107,38 @@ DebugMCP is an MCP server that gives AI coding agents full control over the VS C
> present) so skills-compatible harnesses load the full workflow on demand. The server also
> advertises MCP `instructions` pointing agents at it before debugging.
+### Debug output capture
+
+To read logpoint messages without pausing the program, enable
+`debugmcp.captureDebugOutput` in VS Code user settings before output is emitted.
+For the standalone CLI host, start it with `debugmcp serve --capture-output`.
+Capture is **off by default**, and MCP tools cannot enable it.
+
+Obtain `sessionId` from `get_debug_status` while the session is active, then call
+`get_debug_output`, for example:
+
+```json
+{
+ "sessionId": "",
+ "prefix": "[orders]",
+ "limit": 20
+}
+```
+
+Provide a nonempty `prefix` (up to 256 characters), a `category` (`console`,
+`stdout`, `stderr`, or `important`), or both. Reuse the returned `nextCursor` as
+`cursor` with the same filters to read new entries; `hasMore` indicates additional
+entries to scan, and `truncated` reports evicted history. Only DAP output events
+are captured, not existing Debug Console contents.
+
+Output stays in memory, bounded to 8 sessions and 1,000 events/256 KiB per
+session. Events over 8 KiB are replaced by an omission marker. History can
+remain after termination until eviction, but changing the capture setting or
+disposing the host clears it; output is not persisted or logged by the capture
+feature. Credential-pattern redaction happens before retention, but is
+**heuristic and event-local, not a guarantee that every secret is removed**.
+Enable capture only for output you intend to make available to the agent.
+
### 🎯 Debugging Best Practices
DebugMCP follows systematic debugging practices for effective issue resolution:
@@ -395,7 +435,8 @@ Configure DebugMCP behavior in VSCode settings:
{
"debugmcp.serverPort": 3001,
"debugmcp.timeoutInSeconds": 180,
- "debugmcp.bindHost": ["127.0.0.1", "::1"]
+ "debugmcp.bindHost": ["127.0.0.1", "::1"],
+ "debugmcp.captureDebugOutput": false
}
```
@@ -404,6 +445,7 @@ Configure DebugMCP behavior in VSCode settings:
| `debugmcp.serverPort` | `3001` | Port number for the MCP server |
| `debugmcp.timeoutInSeconds` | `180` | Timeout for debugging operations |
| `debugmcp.bindHost` | `["127.0.0.1", "::1"]` | Network interface(s) the HTTP server binds to. Accepts a string or array of strings. See [Security model](#security-model) before changing. |
+| `debugmcp.captureDebugOutput` | `false` | User-controlled, machine-scoped capture of bounded debugger output. See [Debug output capture](#debug-output-capture); agents cannot enable capture through MCP. |
### Security model
From 386d6caff466c6befbb6ce9580a61817c12ec40a Mon Sep 17 00:00:00 2001
From: ozzafar <48795672+ozzafar@users.noreply.github.com>
Date: Sun, 25 Oct 2026 15:38:22 +0200
Subject: [PATCH 3/3] Move 2.4.4 release notes from README to changelog
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a882e001-7e0e-4256-8a20-8eaec9c947f4
---
CHANGELOG.md | 11 +++++++++++
README.md | 6 ------
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c0af6a3..6750489 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
### Added
- **Claude Code auto-registration** - Claude Code is now offered in the agent selection popup and configured via `~/.claude.json`'s user-scope `mcpServers` field. Claude Desktop connects via its Custom Connector UI instead of a static config file; the README's manual configuration section covers both.
+## [2.4.4] - 2026-10-25
+
+### Added
+- **Opt-in logpoint output retrieval** - `get_debug_output` reads captured debugger output by session in VS Code and the standalone CLI, with prefix/category filters and incremental cursors. Capture is disabled by default; see [Debug output capture](README.md#debug-output-capture) (#178).
+
+### Fixed
+- Debug status function names and source locations now match the selected evaluation frame instead of borrowing top-frame metadata (#179).
+- Successful Continue/Step responses update execution state even when adapters omit a `continued` event, without discarding newer stops (#177).
+- Extension activation refreshes `debug-live` in the extension host's home, including fresh Dev Containers and remote hosts without existing agent configuration or onboarding (#174).
+- When a fresh stop is observed but the adapter has not acknowledged the restart, `restart_debugging` returns an explicit **completion unconfirmed** result instead of waiting for the operation timeout. This does not claim that all restart commands succeeded; acknowledged success and reported failures retain their behavior (#172).
+
## [2.4.2] - 2026-09-27
### Fixed
diff --git a/README.md b/README.md
index c5383a7..824cd80 100644
--- a/README.md
+++ b/README.md
@@ -34,12 +34,6 @@ Let AI agents debug your code inside VS Code - set breakpoints, step through exe
## ✨ What's New
-### 2.4.4
-- **Opt-in logpoint output retrieval** - `get_debug_output` reads captured debugger output by session, with prefix/category filters and incremental cursors. Capture is disabled by default; see [Debug output capture](#debug-output-capture).
-- **Consistent debug status** - function names and source locations now match the selected evaluation frame. Successful Continue/Step responses update execution state even when adapters omit a `continued` event, without discarding newer stops.
-- **Remote skill installation** - extension activation refreshes `debug-live` in the extension host's home, including fresh Dev Containers and remote hosts without existing agent configuration or onboarding.
-- **Restart without a missing-response wait** - when a fresh stop is observed but the adapter has not acknowledged the restart, `restart_debugging` returns an explicit **completion unconfirmed** result instead of waiting for the operation timeout. This does not claim that all restart commands succeeded; acknowledged success and reported failures retain their behavior.
-
### 2.4
- **Standalone DebugMCP CLI** — install [`debugmcp`](https://www.npmjs.com/package/debugmcp) from npm and give MCP-compatible agents direct access to explicitly configured DAP adapters without running VS Code. The CLI supports any language with a DAP adapter that communicates over stdio, configures supported agents, and installs the `debug-live` skill automatically.