如何使用vscode远程调试Python
插件 SFTP Python 配置 sftp.json 用于同步本地代码和远端服务器代码
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 { "name": "remote sync", "host": "remote host", "protocol": "sftp", "port": 22, "username": "username", "password": "password", "remotePath": "remote project path", "uploadOnSave": true, "ignore": [ ".vscode", ".git", ".DS_Store", ".idea", "venv", "__pycache__" ] } tasks.json 用于一键启动远端程序
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 { // See https://go.……