Document how to use debugpy directly instead of vscode-python

This commit is contained in:
Ben Jackson 2020-01-31 22:55:25 +00:00
commit 6bcc58a39b
2 changed files with 75 additions and 1 deletions

View file

@ -1,4 +1,17 @@
{
"adapters": {
"debugpy": {
"command": [
"python",
"-m",
"debugpy.adapter"
],
"name": "debugpy",
"configuration": {
"python": "python"
}
}
},
"configurations": {
"run": {
"adapter": "vscode-python",
@ -31,6 +44,23 @@
"uncaught": ""
}
}
},
"run - debugpy": {
"adapter": "debugpy",
"configuration": {
"request": "launch",
"type": "python",
"cwd": "${workspaceRoot}",
"program": "${file}",
"stopOnEntry": true,
"console": "integratedTerminal"
},
"breakpoints": {
"exception": {
"raised": "N",
"uncaught": ""
}
}
}
}
}