Closed paulacamargo25 closed 1 year ago
This is on purpose. stopOnEntry
defaults to true for the pdb based debugger.
You can change this by creating a launch.json that specifies stopOnEntry as false.
The reason I made 'stopOnEntry' as true the default because of the thought that this would be used by people unfamiliar with debugging. The assumption being novice users wouldn't even know what a breakpoint was.
I actually like the behavior as well since users can't set breakpoints when the code runs due to the limitations we have with pdb.
Testing https://github.com/microsoft/vscode/issues/167433
When i debug a python file, the debug process stop always at the first line, even if i don't have a breakpoint there. It should only stop where I have breakpoints set.