Switch to debugpy over vscode-python

This is just better in every way, and the vscode-python typescript
adapter is being phased out.
This commit is contained in:
Ben Jackson 2020-02-08 18:05:21 +00:00
commit a56bee7b0a
5 changed files with 76 additions and 36 deletions

View file

@ -1,19 +1,6 @@
{
"adapters": {
"debugpy": {
"command": [
"python",
"-m",
"debugpy.adapter"
],
"name": "debugpy",
"configuration": {
"python": "python"
}
}
},
"configurations": {
"run": {
"run legacy vscode-python": {
"adapter": "vscode-python",
"configuration": {
"request": "launch",
@ -45,14 +32,14 @@
}
}
},
"run - debugpy": {
"run": {
"adapter": "debugpy",
"configuration": {
"request": "launch",
"type": "python",
"cwd": "${workspaceRoot}",
"program": "${file}",
"stopOnEntry": true,
"stopOnEntry": false,
"console": "integratedTerminal"
},
"breakpoints": {