Breakpoints set via MCP API don't pause execution (using custom stdio proxy)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Tranquilla
- Stack tecnologico
- node.js, typescript, vscode
Direzione di ricerca
Inizia dalla gestione di add_breakpoint e start_debugging da parte del proxy personalizzato stdio-to-HTTP+SSE e riproduci la sequenza numerata di chiamate verso http://localhost:3001/mcp. Verifica se lo stato della sessione e dei breakpoint sopravvive a entrambe le richieste; il lavoro è completato quando i breakpoint registrati da MCP mettono in pausa l’esecuzione e gli strumenti dello stato in pausa espongono uno stack frame.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 511
- Fork
- 60
- Merge medio
- 2g 1h
- PR unite (30g)
- 18
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/DebugMCP
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Tutte le issue di microsoft/DebugMCP
Issue simili
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Mend: dependency security vulnerability untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100