launch.json•1.3 kB
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug MCP Server",
"type": "debugpy",
"request": "launch",
"module": "smithsonian_mcp.server",
"console": "integratedTerminal",
"envFile": "${workspaceFolder}/.env",
"python": "${workspaceFolder}/.venv/bin/python",
"justMyCode": true
},
{
"name": "Debug API Client Test",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/examples/test-api-connection.py",
"console": "integratedTerminal",
"python": "${workspaceFolder}/.venv/bin/python",
"envFile": "${workspaceFolder}/.env"
},
{
"name": "Debug MCP Server (External Terminal)",
"type": "debugpy",
"request": "launch",
"module": "smithsonian_mcp.server",
"console": "externalTerminal",
"python": "${workspaceFolder}/.venv/bin/python",
"envFile": "${workspaceFolder}/.env"
},
{
"name": "Run All Tests",
"type": "debugpy",
"request": "launch",
"module": "pytest",
"args": [
"tests/",
"-v",
"--tb=short"
],
"console": "integratedTerminal",
"python": "${workspaceFolder}/.venv/bin/python",
"envFile": "${workspaceFolder}/.env"
}
]
}