Hoping that this is the right place to ask this:
I have my Eclipse-Python IDE with PyDev on my windows machine.
My codes/project files are on my Rasp-Pi (Remote machine)
I connect the Eclipse with "Remote System Explorer" Addon via SSH.I can work on the remote code and execute it over the SSH-Terminal (or Putty) so far it works good.
Now I fail at configuring a remote launcher for the project. I just want to run/debug project within Eclipse-IDE (i.e. just via shortcut-key F11) and the Remote machine (Rasp-Pi) executes the code and does stuff.
I dream about a configuration field like
(ssh pi#0.00.00.00 &) python %1
EDIT
I am able to run my script remotely via a command prompt. All I want to do is to run the scripts with the standard launcher of eclipse configuring it, see pics.
Related
I can connect to the remote linux server from VS code through SSH by using the Remote-SSH extension.
I can run linux commands from VS code terminal.
I also have the python debugger extension in VS code.
But I do not understand how do we debug python code. When we start debugging we get below options
Python file
Module
Remote Attach
Attach using process Id
For a linux command from my python repo can I connect using Process Id? Is it possible to debug this way?
I have PyCharm on my machine (8GB RAM). I am required to to heavy data processing, and would like to use an institutionally provided server. This server has Python installed, but without any IDE. So all I see is a CUI, and it is difficult to program in such an environment.Also note that I cannot ask server admin to install software on the server for me. So, how can one connect one's local PyCharm to a python installed on a remote server? Is this even possible?
You can configure an interpreter using SSH:
Open the Add Python Interpreter dialogue
In the left-hand pane of the Add Python Interpreter dialogue, click SSH Interpreter.
Follow the wizard.
For more detailed instructions, check:
https://www.jetbrains.com/help/pycharm/configuring-remote-interpreters-via-ssh.html
Note: unfortunately, this option is not available in the PyCharm Community Edition.
I'm trying to connect pycharm 2016.2 professional to remote python interpreter via docker. I have docker for windows version 1.12.0-rc2-beta20 (the one that uses hyper-v on windows 10; not virtualbox). In pycharm, there's dialog that asks for the docker API URL which is by default populated with: https://192.168.99.100:2376
But that doesn't connect. I also tried localhost:2376 and 10.0.75.0:2376 (10.0.75.0 is the internal IP for vEthernet (DockerNAT)) and they do not work. Is the integration just not supported with the non-virtualbox docker or am I entering the wrong thing?
I use Windows host and Ubuntu guest with VirtualBox. Flask application sources are shared from host to guest using VirtualBox shared folders and my virtualenvs and nginx are on guest.
Now I should open SSH session to restart my Flask application (debugging with reload enabled, but in case of syntax error it needs a rerun) and I have no debug capabilities.
I used to use PyDev and Windows installation of Python with debug and restart right from IDE and miss this.
For debugging you can use the remote debugger: http://pydev.org/manual_adv_remote_debugger.html (just point it to your main box IP and things should work).
Now, currently PyDev does not support launching a process through ssh, so, that'd be a new feature request (which you can request at: https://sw-brainwy.rhcloud.com/tracker/PyDev).
I'm using py.test to run a series of python scripts that test an external windows GUI application.
I'm trying to run these tests on a remote ssh-enabled windows machines using fabric (using Bitvise SSH server on the remote end) but of course the tests which require GUI access fail.
I know that py.test has a package called xdist, but I guess it will suffer from the same problem if the channel we use is SSH.
Has anybody solved the issue of running remote GUI applications in Windows through SSH? SSH has been quite convenient for me to run remote deployment commands, and it would logically follow that py.test would be one of such commands.