Ehab
Ehab

Reputation: 612

Visual Studio Code - Remote debugging without ptvsd

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?

Upvotes: 5

Views: 937

Answers (1)

Brett Cannon
Brett Cannon

Reputation: 15980

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.

Upvotes: 2

Related Questions