Hi everyone,
I tried to find some articles online to help me, but I can't find anything about my specific problem, except for a couple of unanswered questions on SO...
So my Flask-based app runs fine on its own, but when I try to run it in Elastic Beanstalk, it hangs.
I located the line of code which hangs, which is: `from profanity_check import predict_prob`
Because it hangs only when I run it in EB, I need to be enable some kind of debugging at WSGI level. I found many resources about how to deal with crashes and stack traces, but what I need is be able to trace where exactly the app is hanging, as I can't instrument a library such as profanity_check. I was thinking of using the `trace` module to print out every single line of code that is executed, but I don't know how to do that through WSGI....
Any help would be greatly appreciated!
Fabrice