Tips and tricks
So far, we’ve gone through the basics, but what else is there to know? Well, there are quite a few different settings. A complete listing of features can be found at this docs page: https://code.visualstudio.com/docs/copilot/chat/mcp-servers.
Debugging
As a developer, knowing how to debug is a critical skill, so let’s show how to do that. Currently, Node.js debugging is supported, according to the documentation (https://code.visualstudio.com/docs/copilot/customization/mcp-servers#_debug-an-mcp-server):
"server-ts": {
"command": "node",
"args": ["08 - consuming servers/code/build/index.js"],
"dev": {
"watch": "08 - consuming servers/code/build/**/*.js",
"debug": { "type": "node" }
}
}
According to the preceding configuration, what you need to do is this:
- Set up your
commandandargsproperties...