Search code examples
pythonpycharmaiohttp

How to run adev(aiohttp_devtools) command using PyCharm


I want to use PyCharm debugger with aiohttp_devtools, but have no idea how to run command:

adev runserver --no-livereload

in this window enter image description here


Solution

  • Thank you for raising the question.

    Right now there is no easy way to do it.

    The only solution is creating own custom startup script which instantiates dev server like from aiohttp_devtools import cli; cli().

    But I've created an issue for your needs: https://github.com/aio-libs/aiohttp-devtools/issues/99