pycharm-evaluate-async-code
pycharm-evaluate-async-code copied to clipboard
Don't work with docker-compose interpreter.
When start app using docker interpreter and stop in somebreakpoint there is SyntaxError "await outside function"
Project configuration:

Code for test:
import uvicorn
from fastapi import FastAPI
app = FastAPI()
@app.get("/test2/")
async def test_async():
return {}
if __name__ == '__main__':
uvicorn.run(app, port=5000, host='0.0.0.0')
Hi @CHuKeR,
This issue is related to #2.
I will try to look again, maybe I will find a way how to make integration with PyCharm docker debugging.
Thanks for submitting an issue.
any movement on this? or known workarounds?
Hi @CHuKeR, @cmflynn
This issue should be fixed in version 1.20. Please, reopen this issue in the case when issue is still present.