Skip to content

ExUI seems impossible to debug in PyCharm 2025.1 #80

@hypixus

Description

@hypixus

Title sums it up. I'm attempting to debug the project's model loading function, and it seems that debugger never stops the code at any point.

For example, here is an attempt to try stopping the application whenever the endpoint /api/load_model gets triggered.

Image

As you can see, model clearly started to load after the button was pressed. The API endpoint was called for certain - even the browser has it logged.

Image

The code that MUST be hit in order to load a model (models.py's load_model(data)) has a breakpoint set.

Image

However, while taking a look at the debugger window, there is no trace of it, or even a pause. More concerningly...

Image

It seems even the parameter verbose is ignored, as there is no sign that the API endpoint is working well.

Image

Is there something obviously missing in the config? Are there steps one must follow for the debugger to work properly with the project? Apologies for the inconvenience.

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