-
Notifications
You must be signed in to change notification settings - Fork 181
Description
Here's the situation: I'm debugging some Python code that relies on third-party libraries. The third-party libraries (unfortunately) are installed by a non-standard package manager and are under some subdirectory in the ./shared folder of the conda env. I'm trying to debug unit tests but the debugger constantly breaks into the third-party library on certain exceptions when the 'User Uncaught Exceptions' option is ticked. The exception in the third-party lib are actually handled by the standard lib somewhere so they never bubble up to my code, yet the debugger breaks every time. This is very annoying because I only want to break into the debugger on exception raised from my own code. I've tries setting PYDEVD_FILTERS and LIBRARY_ROOTS, that I found in the source code but neither worked.