Pycharm terminal virtualenv

My typical development environment is python + docker. I use pycharm, and usually run tests with something like `docker-compose run --rm webapp pytest tests` from the terminal. My question is if there is any way to use BOTH the docker-compose interpreter AND activateg the  a virtualenv in the terminal window? The docker-compose interpreter lets me easily use the built in debugger or individual test-runners, which is nice... but I do so much of my work from the command line that losing the automatic virtualenv is usually enough to make me switch back within an hour. So - is there a way to do this that I've missed, and if not, could it be added?

Please sign in to leave a comment.