问题
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