Skip to content

Commit c396663

Browse files
committed
improve readme
1 parent a10dabd commit c396663

File tree

3 files changed

+126
-5
lines changed

3 files changed

+126
-5
lines changed

CHANGELOG.md

Lines changed: 71 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,75 @@
1-
# Change Log
1+
# Changelog
22

3-
All notable changes to the "DebugMCP" extension will be documented in this file.
3+
All notable changes to DebugMCP will be documented in this file.
44

5-
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/).
66

7-
## [Unreleased]
7+
## [1.0.8] - 2025-03-14
88

9-
- Initial release
9+
### Added
10+
- Improved debug state reporting with richer context for AI agents
11+
- Named debug configuration support via `configurationName` parameter — use specific `launch.json` configurations by name
12+
13+
### Fixed
14+
- Fixed debug state consistency issues during rapid step operations
15+
16+
## [1.0.7] - 2025-02-XX
17+
18+
### Changed
19+
- **Migrated from SSE to Streamable HTTP transport** — faster, more reliable MCP communication
20+
- Automatic migration of existing SSE configurations to new Streamable HTTP format
21+
- SSE backward compatibility maintained during transition period
22+
23+
### Fixed
24+
- Dependency security updates (undici, express, body-parser, glob, js-yaml)
25+
26+
### Internal
27+
- Migrated from `fastmcp` to official `@modelcontextprotocol/sdk`
28+
29+
## [1.0.6] - 2025-01-XX
30+
31+
### Added
32+
- **Agent auto-configuration popup** — automatically detects and registers with AI assistants (Cline, Copilot, Cursor)
33+
- **Comprehensive documentation** — added architecture docs, AGENTS.md, and troubleshooting guides
34+
- Language-specific debugging tips for Python, JavaScript, Java, C#, C++, and Go
35+
36+
### Fixed
37+
- Fixed failure when `launch.json` contains comments (JSONC parsing)
38+
- Fixed C++ debug configuration issues
39+
- Fixed string equality comparison in breakpoint matching
40+
41+
## [1.0.5] - 2025-01-XX
42+
43+
### Added
44+
- **Debug specific test methods** — pass `testName` to debug individual unit tests
45+
- Clear all breakpoints tool for quick cleanup
46+
- Breakpoint listing tool to view all active breakpoints
47+
48+
### Changed
49+
- Default launch configurations moved to lower priority (user configs preferred)
50+
- Improved MCP tool descriptions for better AI agent understanding
51+
52+
## [1.0.4] - 2024-12-XX
53+
54+
### Added
55+
- **C#/.NET debugging support**
56+
- Keep-alive for SSE sessions to prevent timeouts
57+
58+
## [1.0.3] - 2024-12-XX
59+
60+
### Added
61+
- Multi-language debugging support: Python, JavaScript/TypeScript, Java, C/C++, Go, Rust, PHP, Ruby
62+
- Breakpoint management (add, remove, list, clear all)
63+
- Step-through execution (step over, step into, step out)
64+
- Variable inspection with scope filtering (local, global, all)
65+
- Expression evaluation in debug context
66+
- Automatic debug configuration generation from file extensions
67+
- MCP server with SSE transport
68+
69+
## [1.0.0] - 2024-12-XX
70+
71+
### Added
72+
- Initial release
73+
- Core debugging capabilities via MCP protocol
74+
- VS Code Debug Adapter Protocol integration
75+
- Automatic MCP server startup on extension activation

README.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,50 @@ Configure DebugMCP behavior in VSCode settings:
192192
| `debugmcp.timeoutInSeconds` | `180` | Timeout for debugging operations |
193193

194194

195+
## FAQ
196+
197+
<details>
198+
<summary><b>Which AI assistants are supported?</b></summary>
199+
200+
DebugMCP works with any MCP-compatible AI assistant, including **GitHub Copilot**, **Cline**, **Cursor**, **Roo Code**, **Windsurf**, and others. If your assistant supports the Model Context Protocol, it can use DebugMCP.
201+
</details>
202+
203+
<details>
204+
<summary><b>Does it work with VS Code Remote SSH / Codespaces / WSL?</b></summary>
205+
206+
Yes. DebugMCP runs as a VS Code extension with `extensionKind: workspace`, so it activates in the remote environment where your code lives. The MCP server runs on `localhost` within that remote context.
207+
</details>
208+
209+
<details>
210+
<summary><b>Do I need to configure launch.json?</b></summary>
211+
212+
No. DebugMCP automatically generates appropriate debug configurations based on the file's language/extension. If you have a `launch.json`, it will use matching configurations from there. You can also specify a configuration by name using the `configurationName` parameter.
213+
</details>
214+
215+
<details>
216+
<summary><b>Is my code sent to any external service?</b></summary>
217+
218+
No. DebugMCP runs 100% locally. The MCP server runs on `localhost`, and no code, variables, or debug data is sent to any external service. The AI assistant communicates with the MCP server entirely within your local machine.
219+
</details>
220+
221+
<details>
222+
<summary><b>What if port 3001 is already in use?</b></summary>
223+
224+
Change the port in VS Code settings: `"debugmcp.serverPort": 3002` (or any available port). Then update your AI assistant's MCP configuration to use the new port.
225+
</details>
226+
227+
<details>
228+
<summary><b>Can I debug unit tests?</b></summary>
229+
230+
Yes. Pass the `testName` parameter to `start_debugging` to debug a specific test method. DebugMCP will configure the debug session to run and pause at breakpoints within that test.
231+
</details>
232+
233+
<details>
234+
<summary><b>Why is my AI assistant not using the debug tools?</b></summary>
235+
236+
Make sure DebugMCP is registered in your AI assistant's MCP settings. The extension should auto-detect and offer to register itself. If not, see the [Manual MCP Server Registration](#manual-mcp-server-registration-optional) section. Also enable auto-approval for DebugMCP tools for a smoother workflow.
237+
</details>
238+
195239
## Troubleshooting
196240

197241
### Common Issues
@@ -271,6 +315,16 @@ trademarks or logos is subject to and must follow
271315
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
272316
Any use of third-party trademarks or logos are subject to those third-party's policies.
273317

318+
## ⭐ Star History
319+
320+
<a href="https://star-history.com/#microsoft/DebugMCP&Date">
321+
<picture>
322+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=microsoft/DebugMCP&type=Date&theme=dark" />
323+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=microsoft/DebugMCP&type=Date" />
324+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=microsoft/DebugMCP&type=Date" />
325+
</picture>
326+
</a>
327+
274328
## License
275329

276330
MIT License - See [LICENSE](LICENSE.txt) for details

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"AI",
3939
"Programming Languages"
4040
],
41+
"extensionDependencies": [],
4142
"repository": {
4243
"type": "git",
4344
"url": "https://github.com/microsoft/DebugMCP.git"

0 commit comments

Comments
 (0)