我一直在参考https://code.visualstudio.com/docs/python/debugging#_justmycode 以及 如何在 VSCode 调试器中禁用“仅我的代码”设置?
尽管进行了多次尝试,仍然无法弄清楚在 launch.json 中将 "justMyCode": false 放在哪里。在我尝试添加它的每个地方,编辑器都会说“不允许使用 Property justMyCode ”
下面是我的 launch.json 的副本。有人可以告诉我我应该做什么吗?
{
// 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 (Integrated Terminal)",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: Remote Attach",
"type": "python",
"request": "attach",
"port": 5678,
"host": "localhost",
"pathMappings": [
{
"localRoot": …Run Code Online (Sandbox Code Playgroud)