Description
The Python extension exposes getDebuggerPackagePath
, which I would like to use to assist in debugging MCP servers in devmode from core rather than having users find that path (usually in some environment) manually. A command would be helpful because I can't readily call extension API from VS Code core and I don't want to put in a ton of extra knowledge around the Python extension to pipe it around. It would get called here:
Something like
executeCommand('python.getDebuggerPackagePath') -> Promise<string | undefined>
would work fine. If that command errors or is not found, I would fall back to just the debugpy
string (searching on the path.)