claude-debugs-for-you logo

Claude Debugs For You

by jasonjmcghee

15 forks
197 stars
Free

What is claude-debugs-for-you

claude-debugs-for-you is an innovative tool developed by jasonjmcghee, designed to enhance your coding experience by enabling interactive debugging through language models like Claude. This MCP (Model Context Protocol) Server and Visual Studio Code extension allows AI to assist in debugging your code by evaluating expressions and providing insights in real-time. The server is language-agnostic, making it versatile for developers dealing with various programming languages, as long as they have debugger console support and a valid launch.json configuration file in their projects.

How to Use claude-debugs-for-you

To get started with claude-debugs-for-you, follow these simple steps:

  1. Download and Install: Obtain the extension from your preferred source, such as the VS Code Marketplace. If using a .vsix file, install it in Visual Studio Code by selecting "Install from VSIX..." from the Extensions menu.

  2. Project Setup: Open a project in VS Code that includes a .vscode/launch.json file configured to debug a specific file using ${file}.

  3. Node Process Method:

    • Upon starting the server, copy the node binary path displayed in the startup popup.
    • Update your configuration file (e.g., claude_desktop_config.json) with the path to mcp-debug.js:
      {
        "mcpServers": {
          "debug": {
            "command": "node",
            "args": [
              "/path/to/mcp-debug.js"
            ]
          }
        }
      }
      
    • Start your MCP client, such as Claude Desktop, and ensure it is configured to use the newly set path.
  4. SSE Method:

    • Add the MCP server using the server URL, typically localhost
    • Refresh your client if necessary and start the MCP client.

Once configured, you're ready to leverage AI's debugging capabilities to identify and resolve issues in your code efficiently.

Key Features of claude-debugs-for-you

  • Interactive Debugging: Engage with AI models like Claude to debug code interactively, providing a step-by-step evaluation of expressions and potential fixes.

  • Language Agnostic: Compatible with various programming languages, as long as the environment supports debugger consoles.

  • Versatile Configuration: Supports both node process-based and SSE-based methods, allowing flexibility in setup depending on your environment and needs.

  • MCP Integration: Utilizes the Model Context Protocol to securely connect AI systems with your development environment, ensuring a robust and secure debugging process.

  • Customizable: Easily configure ports and integration settings to suit your specific development setup.

With claude-debugs-for-you, developers can harness the power of AI to streamline their debugging process, making it a valuable tool in both learning environments and professional development workflows.

How to Use

To use the claude-debugs-for-you, follow these steps:

  1. Visit https://github.com/jasonj...
  2. Follow the setup instructions to create an account (if required)
  3. Connect the MCP server to your Claude Desktop application
  4. Start using claude-debugs-for-you capabilities within your Claude conversations

Additional Information

Created

January 17, 2025

Start building your own MCP Server

Interested in creating your own MCP Server? Check out the official documentation and resources.

Learn More