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:
parent
933f946801
commit
a56bee7b0a
5 changed files with 76 additions and 36 deletions
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue