How to develop a project on Linux mount using PTVS?

Feb 5, 2015 at 5:58 PM

My Windows PC shares a network drive that is also mounted on a Linux box. I want to develop a Python script to run on Linux using PTVS running on the Windows PC.

PTVS saves the source files with Windows line endings. How can I make it work with Linux line endings?

Also, can I debug the script on Linux using PTVS running on Windows?

Best regards

Feb 5, 2015 at 6:03 PM
By default VS always uses Windows line endings for all languages. This can be overridden when you save a file if you do File -> Save As and go into advanced save options (where it also lets you select a code page), but it's very inconvenient in practice because you'd have to do it every time you save the file. So you might wan to look at this third-party VS extension that automatically converts line endings when files are saved.

Debugging on Linux - yes, it is possible, but requires some additional preparations. Have a look at the docs: