Breakpoints set via MCP API don't pause execution (using custom stdio proxy)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- node.js, typescript, vscode
調査の方向性
カスタム stdio-to-HTTP+SSE プロキシによる add_breakpoint と start_debugging の処理から始め、http://localhost:3001/mcp に対して番号付きの呼び出しシーケンスを再現します。セッションとブレークポイントの状態が両方のリクエストをまたいで維持されるかを追跡します。MCP に登録されたブレークポイントによって実行が一時停止し、一時停止状態のツールがスタックフレームを公開できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Breakpoints registered via add_breakpoint are accepted but execution never pauses when code runs through them. Debug sessions run to completion without stopping.
Important: We wrote a custom stdio-to-HTTP+SSE proxy because DebugMCP's HTTP transport is incompatible with Claude Code's stdio-only MCP client. This proxy may be causing the issue.
Environment
- DebugMCP: 2.3.0
- VS Code: 1.132.0
- Node.js: v24.16.0
- OS: Windows 11 Enterprise
- Runtime: TypeScript via tsx v4.22.4 + vitest 4.1.9
- Project: SAP CAP with @sap/cds 10.0.3
- Custom proxy: stdio → HTTP+SSE bridge
Reproduction
- Start DebugMCP (http://localhost:3001/mcp)
- Start custom proxy bridging stdio → HTTP+SSE
- Call add_breakpoin + line number →returns success ✅
- Call start_debugging with launch config → launches successfully ✅
- Code runs through breakpoint without stopping ❌
- Session completes "ran to completion without stopping"
What Works
- Proxy forwards all 15 MCP tools successfully
- Debug sessions launch
- Manual breakpoints in VS Code UI work fine
What Doesn't Work
- Execution never pauses at MCP-registered breakpoints
- No stack frame for variable inspection
- Tools timeout waiting for paused state
What We Tried
- TypeScript source p
- Multiple launch configurations
- Simple test scripts
- Logpoints (also didn't trigger)
- Setting breakpoints
All fail identically.
Hypothesis
Proxy may not be maintaining breakpoint state correctly between add_breakpoint and start_debugging calls. Our proxy parses SSE responses line-by-line and tracks session IDs, but breakpoint registration state might need to persist within a single HTTP session.
Simplified proxy logic:
// Parse SSE from DebugMCP, forward JSON-RPC to Claude Code
const response = await fetch('http://localhost:3001/mcp', {
method: 'POST',
headers: { 'Accept': 'text/event-stream' },
body: JSON.stringify(request)
});
// Parse SSE events, extract session IDs, forward responses
- 主要言語
- TypeScript
- スター
- 511
- フォーク
- 60
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 18
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/DebugMCP のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
microsoft/DebugMCP の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
vercel-labs/just-bash#464 ·
-
looksLikeSlug() is ASCII-only, so non-Latin entity slugs (e.g. Korean) skip exact match and collapse オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
TanStack/tanstack.com#1293 ·