Visual Studio Code - Remote debugging without ptvsd

Viewed 820

I'm trying to debug python code inside docker containers.

Visual Studio Code can do this but I have to install ptvsd on the remote machine and edit the code to import it and start listening.

In PyCharm Pro I don't have to install any libraries.

Is there a workaround or a method to remote debug python code in VSC without having to install ptvsd on the remote environment?

1 Answers

Currently the Python extension for VS Code does not send ptvsd on your behalf over an SSH connection like PyCharm does. But we are working on a solution to make remote debugging smoother.

Related