-
Notifications
You must be signed in to change notification settings - Fork 191
Description
I would like to suggest that files in or below a directory included in the path mappings of a launch configuration should always be considered my code. Or, in order not to deviate from current behavior, there could be a setting to declare them my code, e.g. mappedMyCode.
Rationale: The user will likely specify path mappings only for his/her own code and expect to use breakpoints in those files. Evaluating path mapping is more specific than setting justMyCode to true, which adds many (library) files. Specifying paths to own code both in mappings and in include rules (once available) is inefficient and error prone.
In my case, I wanted to debug proprietary Python code that was distributed and installed as a regular Debian package, i.e. below /usr/lib/python*/dist-packages. It took me a while to figure out that this directory is on pydevd's LIBRARY_PATHS and that I would have to set justMyCode to false.