简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM