Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to prevent Visual Studio Code Python debugger from stopping on handled exceptions?

I'm using VSCode 1.30.2 with ms-python 2019.1.0 (29 Jan 2019)
The debugger stops at any handled exceptions in my code, although I can continue debugging, but I'd rather not stop at them because at times there are many exceptions being raised and caught.
It only stops on my own code exceptions, not on the imported modules, for example hasattr()
I'm not using virtual environments.
Is there a way to unset this?

like image 859
Petruza Avatar asked Mar 04 '23 14:03

Petruza


1 Answers

You just have to uncheck Raised Exceptions in the breakpoints panel.

enter image description here

like image 185
Petruza Avatar answered May 13 '23 16:05

Petruza