External access to Textport / Interpreter

It would be amazing to interface directly with the interpreter from within VSCode. Is there any way to somehow connect to the Textport via an external process?


I managed to get access to the logs using ptvsd but not the interpreter.