6 ms·
Vagrant looks very interesting. For writing code I prefer Vim but I also use PyCharm on OSX mainly for its excellent debugger and code browser. Does anyone know
by skept 15y ago
Vagrant looks very interesting. For writing code I prefer Vim but I also use PyCharm on OSX mainly for its excellent debugger and code browser. Does anyone know if there's a way to get PyCharm or perhaps other IDEs (running on OSX) to run the Django dev server through Vagrant?
- rytis 15y agoyou can set PyCharm to upload files on save. it'll scp all changed files for you and can run post upload scripts, for example to restart httpd. Settings -> Deployment Point to your Vagrant instance IP Settings -> Deployment -> Options and select 'upload changed files automatically' EDIT: sorry I lied re opst upload script, must have confused with something else
- skept 15y agoThanks for that tip. What I'm really curious about though is if there's a way to set PyCharm's Python interpreter to something not on the local host (e.g. the Python interpreter on the Vagrant VM). I'd be surprised if this turned out to be possible but thought it wouldn't hurt to ask. Edit: I just found out about the remote debugging feature in PyCharm which may actually do what I want: http://blogs.jetbrains.com/pycharm/2010/12/python-remote-debug-with-pycharm/ http://blogs.jetbrains.com/pycharm/2010/12/python-remote-deb...