pycharm remote debugging & vscode remote

Preface

Originally I just wanted to record pycharm, after all, vscode remote is a personal city (not
just for the sake of enrichment, I still write it up~

pycharm remote

Insert picture description here
Click Tools -> Deployment -> Configuration in turn to get the above interface, then add an SFTP connection, fill in the information and add the mapping on the mapping page.

Insert picture description here
Then also select Automatic Upload in Tools->Deployment, and then local changes will be automatically uploaded to the server. If you select Upload to xxx, the entire project folder will be synchronized to the server.

problem

If it appears (sftp: "Permission denied" (SSH_FX_PERMISSION_DENIED)), chmod 777try the entire mapping folder on the server

vscode remote

Connect with private key

Guess you like

Origin blog.csdn.net/weixin_44602409/article/details/112790089