Quart / ASGI run configuration

Answered

Hi guys,

I cannot find a good run/debug configuration for running Quart or ASGI apps in Pycharm. Best i've got is running a standard python app configuration, but this seems to run for a short time then exit without an error or exception.

I want Pycharm to run the ASGI application asynchronously. Any help would be appreciated on finding a good run configuration.

3 comments
Comment actions Permalink
Official comment

I was able to make a run configuration pretty easily. Instead of Script Name, I used module and typed in quart. I then added run as an argument. I then provide the module and function in an environment variable.

Comment actions Permalink

There is no such run configuration at the moment.

Feel free to submit a feature request about it to our issue tracker using the link https://youtrack.jetbrains.com/issues/PY

0
Comment actions Permalink

Thank you both. I have followed Paul's suggestion and is working as expected. 

0

Please sign in to leave a comment.