How should we debug mcp's? What is the recommended approach? #407
Replies: 2 comments 2 replies
-
I would also like to hear about people's workflow on debugging. I'm on Windows, using VS Code. Attaching to process after Claude starting never loads symbols no matter what I do. The latest launch.json I tried: `
} I load the project in Visual Studio 2022 on the side, attach to the running process from it and it works though. So currently I use both to develop and debug at the same time :) |
Beta Was this translation helpful? Give feedback.
-
@alainkaiser @altinoren As recommended by the modelcontextprotocol pages, debugging section, I complete skip the "fancy" clients and use the purpose-built inspector app My workflow: For a Remote SSE MCP Server
For local STDIO MCP server
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Question Category
Your Question
Hi guys, first of all thank you very much for your effort regarding the csharp-sdk 🚀 I love working with it.
The one thing which I am not 100% how to approach is Testing / Debugging locally. My typical workflow looks something like this:
Everything works as expected with this flow. But I would love to have support via the Debugger in my IDE (Rider) to be able to work/debug with Breakpoints and all the nice stuff. I tried several things already to make this work but couldn't find a working solution (attaching Rider to existing Processes etc.).
Do you guys have some experience with that? How should I approach this? Is it even possible?
Thanks for your feedback!
Beta Was this translation helpful? Give feedback.
All reactions