debugmcp 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +21 -0
- package/README.md +35 -0
- package/dist/debugmcp.js +522 -0
- package/package.json +41 -0
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Copyright (c) Microsoft Corporation.
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# DebugMCP CLI
|
|
2
|
+
|
|
3
|
+
DebugMCP CLI lets MCP-capable coding agents control language debuggers without
|
|
4
|
+
running VS Code. It communicates with explicitly configured Debug Adapter
|
|
5
|
+
Protocol (DAP) adapters over stdio.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```console
|
|
10
|
+
npm install --global debugmcp
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Configure an agent
|
|
14
|
+
|
|
15
|
+
Configure GitHub Copilot CLI once:
|
|
16
|
+
|
|
17
|
+
```console
|
|
18
|
+
debugmcp configure --agent copilot-cli
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Configure a project
|
|
22
|
+
|
|
23
|
+
DebugMCP does not discover, install, or choose debugger installations. Register
|
|
24
|
+
the adapter provided by the project's environment:
|
|
25
|
+
|
|
26
|
+
```console
|
|
27
|
+
cd path\to\python-project
|
|
28
|
+
debugmcp adapter add python --command "python -m debugpy.adapter"
|
|
29
|
+
debugmcp adapter validate python
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
The project registration is stored in `.debugmcp.json`. Start the configured
|
|
33
|
+
agent from that project and ask it to use the `debug-live` skill.
|
|
34
|
+
|
|
35
|
+
Use `debugmcp help` for all commands.
|