企業(yè)網(wǎng)站內(nèi)容更新怎么操作網(wǎng)站收錄查詢?nèi)肟?/h1>
找到老版本資源:
找到老版本python debugger插件,現(xiàn)在官方github 都是24之后的release 了,調(diào)不了3.6 老項目
pdb:
太麻煩
debugpy
vscode python debugger 的底層實現(xiàn),我們可以指定老版本的debugger 來調(diào)試,如下配置。
{// Use IntelliSense to learn about possible attributes.// Hover to view descriptions of existing attributes.// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387"version": "0.2.0","configurations": [{"name": "Python Debugger: Django","type": "debugpy","request": "launch","program": "${workspaceFolder}/cw-publish/manage.py","args": ["runserver"],"django": true,"envFile": "${workspaceFolder}/scripts/develop/envs.env","debugAdapterPath": "/opt/conda/envs/work/lib/python3.6/site-packages/debugpy/adapter"}]
}