0

I'm trying to run faust worker (https://faust.readthedocs.io) in debug mode. At this monent I did this:

enter image description here

As you can see this is not actual debug. I expect this:

enter image description here

Can you say what I'm doing wrong?

1 Answers1

2

You have to make a Python run config like this to properly use debugging in PyCharm:

enter image description here

The file (in this case toy_example.py) should provide an entrypoint:

if __name__ == '__main__':
    print("Application getting started")
    app.main()