forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add configuration debugpyPath #14631
Copy link
Copy link
Closed
Labels
area-debuggingfeature-requestRequest for new features or functionalityRequest for new features or functionalitygood first issuehelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunities
Metadata
Metadata
Assignees
Labels
area-debuggingfeature-requestRequest for new features or functionalityRequest for new features or functionalitygood first issuehelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunities
When developping my project in specific environments, I want to use a specific executable of
debugpy, like I can for formatting (e.g.black) or linting (e.g.flake8).Or maybe just be able to let python pickup the available debugpy.
Current behavior: VS Code Python only use its own
.vscode-server-insiders/extensions/ms-python.python-2020.10.332292344/pythonFiles/lib/python/debugpy/launcherFor now I have to use this setup to debug my projects:
{ "version": "0.2.0", "configurations": [ { "name": "Start debug (Nix)", "request": "launch", "type": "node-terminal", "command": "nix-shell --run 'python -m debugpy --listen localhost:5678 --wait-for-client -m myproject'", "env": {} }, { "name": "Connect debug (Nix)", "type": "python", "request": "attach", "port": 5678, } ] }