The idea is to run remote python or bash script by clicking run button in eclipse.
I found something very close here: https://stackoverflow.com/a/5979831/932965
Then execute external tool: ssh user@rometesite -c "java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=4000,suspend=n Main"
But I don't know how to run some remote script by external tool. Maybe there is other way then external tool... Anyway I can run script by ssh command:
ssh user@server 'bash ~/workspace/testscript.sh'
But I'm not able to run it by external tool.
I set
Location: /usr/bin/ssh
Arguments: "user@server 'bash ~/workspace/testscript.sh'"
I got connected but testscript.sh didn't do anything.
testscript.sh source:
#!/bin/bash
touch testfile