VsCode justMyCode: false无效

发布时间 2023-09-07 11:03:51作者: Picassooo

本文摘自:VsCode justMyCode: false无效 - 知乎 (zhihu.com)

launch.json里增加  "purpose":["debug-in-terminal"] 

{
// 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: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": false,
"purpose": ["debug-in-terminal"]
}
]
}