This is just better in every way, and the vscode-python typescript adapter is being phased out.
53 lines
1.1 KiB
JSON
53 lines
1.1 KiB
JSON
{
|
|
"configurations": {
|
|
"run legacy vscode-python": {
|
|
"adapter": "vscode-python",
|
|
"configuration": {
|
|
"request": "launch",
|
|
"type": "python",
|
|
"cwd": "${workspaceRoot}",
|
|
"program": "${file}",
|
|
"stopOnEntry": true,
|
|
"console": "integratedTerminal"
|
|
},
|
|
"breakpoints": {
|
|
"exception": {
|
|
"raised": "N",
|
|
"uncaught": ""
|
|
}
|
|
}
|
|
},
|
|
"attach": {
|
|
"adapter": "vscode-python",
|
|
"configuration": {
|
|
"request": "attach",
|
|
"type": "python",
|
|
"host": "localhost",
|
|
"port": "5678"
|
|
},
|
|
"breakpoints": {
|
|
"exception": {
|
|
"raised": "N",
|
|
"uncaught": ""
|
|
}
|
|
}
|
|
},
|
|
"run": {
|
|
"adapter": "debugpy",
|
|
"configuration": {
|
|
"request": "launch",
|
|
"type": "python",
|
|
"cwd": "${workspaceRoot}",
|
|
"program": "${file}",
|
|
"stopOnEntry": false,
|
|
"console": "integratedTerminal"
|
|
},
|
|
"breakpoints": {
|
|
"exception": {
|
|
"raised": "N",
|
|
"uncaught": ""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|