VSCode's debugging mode always stop at first line
Question:
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
Answers:
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
There are many of them make sure to make all of them false (Stop on Entry)
For my embedded project it was "runToMain": false
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
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
There are many of them make sure to make all of them false (Stop on Entry)
For my embedded project it was "runToMain": false