Document how to use debugpy directly instead of vscode-python
This commit is contained in:
parent
9485a9f46c
commit
6bcc58a39b
2 changed files with 75 additions and 1 deletions
|
|
@ -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": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue