Created
June 11, 2025 15:35
-
-
Save philipz/4cb234782c9b358c3260e11d1cbca1e3 to your computer and use it in GitHub Desktop.
VSCode debug MCP launch.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Debug with MCP Inspector", | |
"type": "node", | |
"request": "launch", | |
"runtimeExecutable": "npx", | |
"runtimeArgs": [ | |
"@modelcontextprotocol/inspector", | |
"node", | |
"${workspaceFolder}/dist/index.js" | |
], | |
"preLaunchTask": "typescript: build", | |
"env": { | |
"DATA_DIR": "${workspaceFolder}/data", | |
"ENABLE_THOUGHT_CHAIN": "true", | |
"TEMPLATES_USE": "zh", | |
"ENABLE_GUI": "true" | |
}, | |
"sourceMaps": true, | |
"outFiles": [ | |
"${workspaceFolder}/dist/**/*.js" | |
], | |
"console": "integratedTerminal", | |
"skipFiles": [ | |
"<node_internals>/**", | |
"node_modules/**" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment