Home Ask Login Register

Developers Planet

Your answer is one click away!

user1936123 February 2016

How do I enable the "Upload files to Remote Host" feature in the Before launch section of a PyCharm Run/Debug Configuration?

I'm running PyCharm Professional 5.0.4 and am referring to the feature described in the documentation here.

Upload files to Remote Host. Select this option to have the application files automatically uploaded to the server according to the default server access configuration. For more information, see Configuring Synchronization with a Web Server and Uploading and Downloading Files.

I have set a default Deployment (SFTP) and its mappings, and I can upload and download files via Tools->Deployment.. I have tried with the remote interpreter set to both the Deployment configuration and SSH Credentials.

I've tried every setting that seems to make sense, but "Upload files to Remote Host" never appears as an option in the Before launch section of my Run/Debug Configuration.


Cameron February 2016

I have it auto-uploading when i save the project.

File > Settings > Build/Execution/Deployment > Deployment > Options > then about half way down there's a dropdown to upload changed files automatically to the server either always, on ctrl+s, or never.

In addition to the deployment settings, if you're doing remote interpreting then you'll need to set that up under File > Settings > Project: XXX > Project Interpreter > then click the cog in the top-right and choose Add Remote (Only available in the Pro version if anyone is wondering).

I think that's all you need.

Post Status

Asked in February 2016
Viewed 3,061 times
Voted 8
Answered 1 times


Leave an answer

Quote of the day: live life