-
Notifications
You must be signed in to change notification settings - Fork 93
Closed as not planned
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Milestone
Description
Environment data
- debugpy version: 1.8.0
- OS and version: mac OS Ventura
- Python version: 3.11.7 (virtual environment using venv)
- Using VS Code or Visual Studio: VS Code
Actual behavior
changed the following configuration to debugpy under type
{
// 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": "Python: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"cwd": "${fileDirname}",
"env": {
"PYTHONPATH": "/neptune-ai"
}
}
]
}
My settings.json
{
"autoDocstring.docstringFormat": "numpy",
"python.languageServer": "Pylance",
"editor.formatOnSave": true,
"editor.codeLens": true,
"python.analysis.autoImportCompletions": true,
"code-runner.executorMap": {
"python": "/research/Home/python/neptune-ai/py_env/bin/python3"
},
"code-runner.clearPreviousOutput": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"git.ignoreLimitWarning": true,
"terminal.integrated.env.osx": {
"PYTHONPATH": "/research/Home/python/neptune-ai"
},
"jupyter.notebookFileRoot": "${workspaceFolder}",
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true
},
"python.testing.unittestArgs": [
"-v",
"-s",
".",
"-p",
"*test*.py"
],
"python.testing.unittestEnabled": true,
}
Expected behavior
When hitting dubug in top left it complains that i need to select a python interpreter before i can debug and it stops the debugging process. But when i change the type back to python, its able to debug as long as i have selected Python: Current File. Also the top right debug button isn't working under this setting as well.
Steps to reproduce:
See above
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team