VSCode's debugging mode always stop at first line

て烟熏妆下的殇ゞ 提交于 2021-01-02 04:40:52

问题


I am using vscode for python development. I sometimes use debug running mode, and vscode always stop at first line even if there are no breakpoints. I attached a screenshot of this phenomenon. It's a little annoying and I want to skip this. Are there any ways to skip this?

My Env

  • Code Runner 0.6.5
  • MagicPython 1.0.3
  • Python 0.5.5
  • Python for VSCode


回答1:


The launch.json file has the setting "stopOnEntry":true. Change this to false to prevent this.

The docs for this can be found https://code.visualstudio.com/docs/python/debugging#_stoponentry




回答2:


There are many of them make sure to make all of them false (Stop on Entry)



来源:https://stackoverflow.com/questions/41407583/vscodes-debugging-mode-always-stop-at-first-line

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!