Skip to content

debugpy doesn't work for modules in extra_folders #66

@rlnt

Description

@rlnt

I usually try to have a clean sdk_mods folder in my Borderlands directory. I use a separate directory to write my sdk mods which is also better for version control.

The mods load fine because I added the directory in the extra_folders within the unrealsdk.user.toml. I also use this directory for the pyexec entrypoint which also works fine. However, debugpy doesn't evaluate any breakpoints within directories of the extra_folders configuration. VSCode will tell you that breakpoints set in the code don't exist after the debugger is attached. After moving my development mod to the original sdk_mods folder, it works as expected.

Would it be possible to allow breakpoints in extra folders as well? Interestingly, it's still capable of freezing the game and showing data when it hits an uncaught exception within the extra folders. That part is working, but no custom breakpoints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions