在python中,VSCode调试器不会进入外部代码。无法弄清楚如何在launch.json中编辑“ justMyCode”

时间:2019-11-04 04:12:05

标签: python visual-studio-code

我一直在指https://code.visualstudio.com/docs/python/debugging#_justmycodeHow to disable "just my code" setting in VSCode debugger?

尽管进行了多次尝试,但仍无法弄清楚放置位置 “ justMyCode”:launch.json中为false。我在任何地方尝试使用的编辑器都说“不允许属性justMyCode”

下面是我的launch.json的副本。有人可以告诉我该怎么办?

setTimeout( _ => this.updateUserData(result.user), 100)

1 个答案:

答案 0 :(得分:2)

Try setting "justMyCode": false仅凭VS Code调试器中的提示信息是不够的。如果要单步执行外部代码,还需要将"request": "launch"更改为"request": "test"。这是the Github issue where I found this answer